]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/layout-test.cxx
accomodate changes to osgDB::DatabasePager interface
[flightgear.git] / src / GUI / layout-test.cxx
index c006340898907c8f84bbd0969f1ce4b08806ede3..d4bf53a567b9824b48dee6b16cce3833c3deef7f 100644 (file)
@@ -5,7 +5,7 @@
 #include <iostream>
 
 #include <simgear/compiler.h>
-#include SG_GL_H
+#include <osg/GL>
 #include <plib/pw.h>
 #include <plib/pu.h>
 #include <simgear/props/props.hxx>
@@ -42,7 +42,7 @@ int main(int argc, char** argv)
     }
     fclose(tmp);
 
-    pwInit(0, 0, 600, 400, 0, "Layout Test", true, 0);
+    pwInit(0, 0, 600, 400, 0, const_cast<char*>("Layout Test"), true, 0);
     pwSetCallbacks(keyboardCB, mouseButtonCB, mouseMotionCB,
                    resizeCB, exitCB);