0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / OpenGl / OpenGl_Text.cxx
index bad02eb..3050153 100644 (file)
@@ -3,20 +3,14 @@
 // Author:    Sergey ZERCHANINOV
 // Copyright: OPEN CASCADE 2011
 
+#include <OpenGl_GlCore11.hxx>
 #include <OpenGl_Text.hxx>
-
-#if (!defined(_WIN32) && !defined(__WIN32__))
-  #include <X11/Xlib.h>
-#endif
-
-#include <OpenGl_tgl_all.hxx>
-#include <GL/gl.h>
-
 #include <OpenGl_Memory.hxx>
-
 #include <OpenGl_AspectText.hxx>
 #include <OpenGl_Structure.hxx>
 
+#include <GL/glu.h> // gluUnProject()
+
 /*----------------------------------------------------------------------*/
 
 OpenGl_Text::OpenGl_Text (const TCollection_ExtendedString& AText,