]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/matlib.cxx
I'm attaching diffs to add a new FGInput module to FlightGear
[flightgear.git] / src / Objects / matlib.cxx
index d199c747979a3d7f1c8cd004609b6ed13dd8147c..ac2be6b947324c9dc2168562000846a405ad965d 100644 (file)
@@ -34,7 +34,7 @@
 #endif
 
 #include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include <GL/gl.h>
 
 #include <simgear/compiler.h>
 
@@ -292,7 +292,7 @@ void FGMaterialLib::load_next_deferred() {
                 setTexture( (char *)slot.get_texture_name_c_str(), 0, 0 );
 #else
             slot.get_textured()->
-                setTexture( (char *)slot.get_texture_name_c_str(), 0, 0, 0 );
+                setTexture( (char *)slot.get_texture_name_c_str(), 0, 0, 1 );
 #endif
             slot.set_texture_loaded( true );
         }