From 27ea78ee440e9ee5e6fb563fe7902031b71b74d0 Mon Sep 17 00:00:00 2001 From: Maicon Santana Date: Sun, 5 Apr 2026 20:25:42 +0100 Subject: [PATCH] Setting gl_PointSize to 1 to avoid 0 as default --- src/rlgl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rlgl.h b/src/rlgl.h index f80a2776a..501dcc259 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -5045,6 +5045,7 @@ static void rlLoadShaderDefault(void) " fragTexCoord = vertexTexCoord; \n" " fragColor = vertexColor; \n" " gl_Position = mvp*vec4(vertexPosition, 1.0); \n" + " gl_PointSize = 1.0; \n" // Some systems set PointSize as 0.0 by default "} \n"; // Fragment shader directly defined, no external file required