Skip to content

Commit 37bab54

Browse files
Allow opengl33 version to be able to point size
1 parent 8301894 commit 37bab54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rlgl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,7 @@ float rlGetLineWidth(void)
20442044
// Set the point drawing size
20452045
void rlSetPointSize(float size)
20462046
{
2047-
#if defined(GRAPHICS_API_OPENGL_11)
2047+
#if defined(GRAPHICS_API_OPENGL_11) || defined(GRAPHICS_API_OPENGL_33)
20482048
glPointSize(size);
20492049
#endif
20502050
}
@@ -2053,7 +2053,7 @@ void rlSetPointSize(float size)
20532053
float rlGetPointSize(void)
20542054
{
20552055
float size = 1;
2056-
#if defined(GRAPHICS_API_OPENGL_11)
2056+
#if defined(GRAPHICS_API_OPENGL_11) || defined(GRAPHICS_API_OPENGL_33)
20572057
glGetFloatv(GL_POINT_SIZE, &size);
20582058
#endif
20592059
return size;

0 commit comments

Comments
 (0)