X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FOpenGl%2FOpenGl_GlCore31.hxx;h=3a1c52b3f1bab4045ba737d2993b593f44bd1454;hp=495ac8242e8ddf37a7c21e3c4cb81a098b1bdff0;hb=0c33a0bf4d320a4afef435687477636a570100b3;hpb=01ca42b2c104686be01bf97e8a38c836eb42edda diff --git a/src/OpenGl/OpenGl_GlCore31.hxx b/src/OpenGl/OpenGl_GlCore31.hxx index 495ac82..3a1c52b 100644 --- a/src/OpenGl/OpenGl_GlCore31.hxx +++ b/src/OpenGl/OpenGl_GlCore31.hxx @@ -23,6 +23,8 @@ template struct OpenGl_TmplCore31 : public theBaseClass_t { +#if !defined(GL_ES_VERSION_2_0) + public: //! @name GL_ARB_uniform_buffer_object (added to OpenGL 3.1 core) using theBaseClass_t::glGetUniformIndices; @@ -44,6 +46,8 @@ public: //! @name OpenGL 3.1 additives to 3.0 using theBaseClass_t::glTexBuffer; using theBaseClass_t::glPrimitiveRestartIndex; +#endif + }; //! OpenGL 3.1 compatibility profile.