]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/launcher.h
Use an OpenGL 3.2 core context unless requested otherwise
[libs/demoscene.git] / source / launcher.h
index c1dc33a8db8e1be88393082e97e1099a46ea095e..f394f2927251dde43c72076f4eac1c176f3aa412 100644 (file)
@@ -13,6 +13,9 @@
 #include <msp/time/timestamp.h>
 #include "resources.h"
 
+namespace Msp {
+namespace DemoScene {
+
 class Demo;
 class LaunchScreen;
 
@@ -23,6 +26,7 @@ protected:
        {
                Msp::Graphics::WindowOptions win_opts;
                Msp::Graphics::WindowOptions fullscreen_opts;
+               Msp::Graphics::GLOptions gl_opts;
                int start_fullscreen;
                std::string frame_dump_fn;
                float framerate;
@@ -81,4 +85,7 @@ protected:
        virtual void exit(int c) { Msp::Application::exit(c); }
 };
 
+} // namespace DemoScene
+} // namespace Msp
+
 #endif