Skip to content

Commit 27ea78e

Browse files
Setting gl_PointSize to 1 to avoid 0 as default
1 parent 37bab54 commit 27ea78e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rlgl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5045,6 +5045,7 @@ static void rlLoadShaderDefault(void)
50455045
" fragTexCoord = vertexTexCoord; \n"
50465046
" fragColor = vertexColor; \n"
50475047
" gl_Position = mvp*vec4(vertexPosition, 1.0); \n"
5048+
" gl_PointSize = 1.0; \n" // Some systems set PointSize as 0.0 by default
50485049
"} \n";
50495050

50505051
// Fragment shader directly defined, no external file required

0 commit comments

Comments
 (0)