]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/glcontext.h
Add a core profile flag to OpenGL context options
[libs/gui.git] / source / graphics / glcontext.h
index 8cf75c82948fc657869e1d3685dbfcfeb4133233..ef6ef1b60f25989431e4d710c5916a84bdc64af1 100644 (file)
@@ -15,6 +15,10 @@ struct GLOptions
        bool stencil;
        bool doublebuffer;
        unsigned multisample;
+       bool forward_compatible;
+       bool core_profile;
+       unsigned gl_version_major;
+       unsigned gl_version_minor;
 
        GLOptions();
 };