0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0
[occt.git] / src / OpenGl / OpenGl_GlCore43.hxx
index 2a34586..e95e842 100644 (file)
@@ -25,6 +25,8 @@ struct OpenGl_TmplCore43 : public theBaseClass_t
 
 public: //! @name OpenGL 4.3 additives to 4.2
 
+#if !defined(GL_ES_VERSION_2_0)
+
   using theBaseClass_t::glClearBufferData;
   using theBaseClass_t::glClearBufferSubData;
   using theBaseClass_t::glDispatchCompute;
@@ -69,6 +71,8 @@ public: //! @name OpenGL 4.3 additives to 4.2
   using theBaseClass_t::glObjectPtrLabel;
   using theBaseClass_t::glGetObjectPtrLabel;
 
+#endif
+
 };
 
 //! OpenGL 4.3 compatibility profile.