]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/layout-test.cxx
Fix GUI and HUD text rendering problems.
[flightgear.git] / src / GUI / layout-test.cxx
index feb8f207f68e2ea67a593a5af74d43ccf2c0a4da..c006340898907c8f84bbd0969f1ce4b08806ede3 100644 (file)
@@ -1,6 +1,11 @@
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <iostream>
 
-#include <GL/gl.h>
+#include <simgear/compiler.h>
+#include SG_GL_H
 #include <plib/pw.h>
 #include <plib/pu.h>
 #include <simgear/props/props.hxx>
@@ -52,5 +57,5 @@ int main(int argc, char** argv)
     int pw=0, ph=0;
     w.calcPrefSize(&pw, &ph);
     w.layout(0, 0, pw, ph);
-    writeProperties(cout, &props, true);
+    writeProperties(std::cout, &props, true);
 }