0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0
[occt.git] / src / OpenGl / OpenGl_ExtGS.hxx
index dd7f146..5c8c2f6 100644 (file)
@@ -21,7 +21,9 @@
 //! Geometry shader as extension is available on OpenGL 2.0+
 struct OpenGl_ExtGS : protected OpenGl_GlFunctions
 {
+#if !defined(GL_ES_VERSION_2_0)
   using OpenGl_GlFunctions::glProgramParameteriEXT;
+#endif
 };
 
 #endif // _OpenGl_ExtGS_H__