From d7ff0175c163febc14ac65730cd4b30a13ee1473 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 18 Mar 2024 09:09:26 +0100 Subject: [PATCH] Fix #3876 and also `rlgl` review on #3783 --- src/rlgl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rlgl.h b/src/rlgl.h index e33b7505..0f784025 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -903,10 +903,14 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE #endif -#if !defined(GL_PROGRAM_POINT_SIZE) +#ifndef GL_PROGRAM_POINT_SIZE #define GL_PROGRAM_POINT_SIZE 0x8642 #endif +#ifndef GL_LINE_WIDTH + #define GL_LINE_WIDTH 0x0B21 +#endif + #if defined(GRAPHICS_API_OPENGL_11) #define GL_UNSIGNED_SHORT_5_6_5 0x8363 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034