0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0
[occt.git] / src / OpenGl / OpenGl_GlCore33.hxx
index 192f52d..605f97e 100644 (file)
@@ -23,6 +23,8 @@ template<typename theBaseClass_t>
 struct OpenGl_TmplCore33 : public theBaseClass_t
 {
 
+#if !defined(GL_ES_VERSION_2_0)
+
 public: //! @name GL_ARB_blend_func_extended (added to OpenGL 3.3 core)
 
   using theBaseClass_t::glBindFragDataLocationIndexed;
@@ -96,6 +98,8 @@ public: //! @name OpenGL 3.3 additives to 3.2
 
   using theBaseClass_t::glVertexAttribDivisor;
 
+#endif
+
 };
 
 //! OpenGL 3.3 compatibility profile.