0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / OpenGl / OpenGl_Display_2.cxx
index 2ceb5d6..f249cce 100644 (file)
@@ -3,20 +3,14 @@
 // Author:    Sergey ZERCHANINOV
 // Copyright: OPEN CASCADE 2011
 
+#include <OpenGl_GlCore11.hxx>
+
 #include <OpenGl_Display.hxx>
 
 #ifdef HAVE_GL2PS
-#include <gl2ps.h>
+  #include <gl2ps.h>
 #endif
 
-#include <OpenGl_tgl_all.hxx>
-#include <GL/gl.h>
-
-/*----------------------------------------------------------------------*/
-/*
-* Constantes
-*/
-
 #define  DOT_LS            0xCCCC
 #define  DASH_DOT_LS       0xFF18
 #define  DASH_LS           0xFFC0