aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp')
-rw-r--r--sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp b/sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp
index 3e7c324ba..27a8a9fdf 100644
--- a/sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp
+++ b/sources/pyside6/PySide6/QtOpenGL/glue/utils.cpp
@@ -11,9 +11,11 @@ int glGetVReturnSize(GLenum pname)
case GL_ALIASED_LINE_WIDTH_RANGE:
case GL_DEPTH_RANGE:
case GL_MAX_VIEWPORT_DIMS:
+#if !QT_CONFIG(opengles2)
case GL_POINT_SIZE_RANGE:
case GL_SMOOTH_LINE_WIDTH_RANGE:
case GL_VIEWPORT_BOUNDS_RANGE:
+#endif
return 2;
case GL_BLEND_COLOR:
case GL_COLOR_CLEAR_VALUE: