]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/glcontext.h
Add support for swap interval control
[libs/gui.git] / source / graphics / glcontext.h
index db9df4e0aee08e3f150c17c826f2a578e1a142d7..8cf75c82948fc657869e1d3685dbfcfeb4133233 100644 (file)
@@ -39,8 +39,13 @@ private:
 
 public:
        GLContext(Window &wnd, const GLOptions &opts = GLOptions());
+private:
+       void platform_init(const GLOptions &);
+public:
        ~GLContext();
 
+       void set_swap_interval(unsigned);
+
        void swap_buffers();
 private:
        void window_resized(unsigned, unsigned);