0025442: Visualization, TKOpenGl - prevent inclusion of system header glxext.h
[occt.git] / src / OpenGl / OpenGl_GlCore40.hxx
index c8a289c..60d8d41 100644 (file)
@@ -23,6 +23,8 @@ template<typename theBaseClass_t>
 struct OpenGl_TmplCore40 : public theBaseClass_t
 {
 
+#if !defined(GL_ES_VERSION_2_0)
+
 public: //! @name GL_ARB_draw_indirect (added to OpenGL 4.0 core)
 
   using theBaseClass_t::glDrawArraysIndirect;
@@ -90,6 +92,8 @@ public: //! @name OpenGL 4.0 additives to 3.3
   using theBaseClass_t::glBlendFunci;
   using theBaseClass_t::glBlendFuncSeparatei;
 
+#endif
+
 };
 
 //! OpenGL 4.0 compatibility profile.