0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0
[occt.git] / src / OpenGl / OpenGl_GlCore42.hxx
index 01ba9ce..884d2b7 100644 (file)
@@ -23,6 +23,8 @@ template<typename theBaseClass_t>
 struct OpenGl_TmplCore42 : public theBaseClass_t
 {
 
+#if !defined(GL_ES_VERSION_2_0)
+
 public: //! @name GL_ARB_base_instance (added to OpenGL 4.2 core)
 
   using theBaseClass_t::glDrawArraysInstancedBaseInstance;
@@ -56,6 +58,8 @@ public: //! @name GL_ARB_texture_storage (added to OpenGL 4.2 core)
   using theBaseClass_t::glTextureStorage2DEXT;
   using theBaseClass_t::glTextureStorage3DEXT;
 
+#endif
+
 };
 
 //! OpenGL 4.2 compatibility profile.