0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / OpenGl / OpenGl_PrimitiveArray.hxx
index 25dcefd..7450c3b 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef OpenGl_PrimitiveArray_Header
 #define OpenGl_PrimitiveArray_Header
 
-#include <OpenGl_Context.hxx>
+#include <OpenGl_GlCore11.hxx>
 
 #include <InterfaceGraphic_telem.hxx>
 #include <Aspect_InteriorStyle.hxx>
@@ -14,6 +14,7 @@
 #include <OpenGl_Element.hxx>
 
 struct OPENGL_SURF_PROP;
+class Handle(OpenGl_Context);
 
 class OpenGl_PrimitiveArray : public OpenGl_Element
 {