0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / OpenGl / OpenGl_GlCore30.hxx
index f9cb9ad..3c24b4b 100644 (file)
@@ -60,8 +60,10 @@ public: //! @name GL_ARB_vertex_array_object (added to OpenGL 3.0 core)
 
 public: //! @name GL_ARB_map_buffer_range (added to OpenGL 3.0 core)
 
+#ifndef __EMSCRIPTEN__
   using theBaseClass_t::glMapBufferRange;
   using theBaseClass_t::glFlushMappedBufferRange;
+#endif
 
 public: //! @name OpenGL 3.0 additives to 2.1
 
@@ -142,8 +144,10 @@ public: //! @name OpenGL 3.0 additives to 2.1
   using theBaseClass_t::glEndQuery;
   using theBaseClass_t::glGetQueryiv;
   using theBaseClass_t::glGetQueryObjectuiv;
+#ifndef __EMSCRIPTEN__
   using theBaseClass_t::glUnmapBuffer;
 #endif
+#endif
 };
 
 //! OpenGL 3.0 core based on 2.1 version.