Setting gl_PointSize to 1 to avoid 0 as default

This commit is contained in:
Maicon Santana 2026-04-05 20:25:42 +01:00
parent 37bab54bb5
commit 27ea78ee44

View File

@ -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