X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fglcontext.h;h=ef6ef1b60f25989431e4d710c5916a84bdc64af1;hb=4727c8ca14f2d278a74e0abe64b7a31e68238a8a;hp=a2480909416e29d9e1aa96c49ae410ad66d8382b;hpb=1aca77b93853ee127ac3bbf6886f7f04920542ef;p=libs%2Fgui.git diff --git a/source/graphics/glcontext.h b/source/graphics/glcontext.h index a248090..ef6ef1b 100644 --- a/source/graphics/glcontext.h +++ b/source/graphics/glcontext.h @@ -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(); }; @@ -44,6 +48,8 @@ private: public: ~GLContext(); + void set_swap_interval(unsigned); + void swap_buffers(); private: void window_resized(unsigned, unsigned);