]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/clouds3d/SkyContext.cpp
Remove "glut" dependency.
[simgear.git] / simgear / scene / sky / clouds3d / SkyContext.cpp
index 78b80b22045db32109679f1eb5a81e744b298481..f0296ab87c340aed89df269be6bca24e7702d472 100644 (file)
@@ -28,7 +28,7 @@
 #  include <windows.h>
 #endif
 
-#include GLUT_H
+// #include GLUT_H
 
 #ifndef WIN32
 #include <GL/glx.h>
  */ 
 SkyContext::SkyContext()
 {
-  _iWidth  = glutGet(GLUT_WINDOW_WIDTH);
-  _iHeight = glutGet(GLUT_WINDOW_HEIGHT);
+  // _iWidth  = glutGet(GLUT_WINDOW_WIDTH);
+  // _iHeight = glutGet(GLUT_WINDOW_HEIGHT);
+  _iWidth  = 640;
+  _iHeight = 480;
   
   // materials and structure classes
   AddCurrentGLContext();