]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/glcontext.h
Support forward-compatible OpenGL contexts
[libs/gui.git] / source / graphics / glcontext.h
index 8cf75c82948fc657869e1d3685dbfcfeb4133233..8c8b49968b91090809b2e746cabe2716707468d4 100644 (file)
@@ -15,6 +15,9 @@ struct GLOptions
        bool stencil;
        bool doublebuffer;
        unsigned multisample;
+       bool forward_compatible;
+       unsigned gl_version_major;
+       unsigned gl_version_minor;
 
        GLOptions();
 };