]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/screen-dump.cxx
Prevent deleting the texture data for a second time in the destructor
[simgear.git] / simgear / screen / screen-dump.cxx
index 8a9da20fd88fb80559e478609c4eb206d7b705cd..27c6e9bc8b8666f4fbfd87d43ac9291b6346b522 100644 (file)
@@ -21,7 +21,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-#  include <config.h>
+#  include <simgear_config.h>
 #endif
 
 #ifdef HAVE_WINDOWS_H
@@ -32,8 +32,7 @@
 #include <stdlib.h>
 #include <limits.h>
 
-#include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include GLUT_H
 
 #include "screen-dump.hxx"