]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/cgl/glcontext.cpp
Add support for swap interval control
[libs/gui.git] / source / graphics / cgl / glcontext.cpp
index 748b9b1416eb338a6d21a30b40c0fbdaa7682437..02c4d4421a4b0716cc75fb0bcd13d7520ec6a049 100644 (file)
@@ -67,12 +67,17 @@ GLContext::~GLContext()
        delete priv;
 }
 
+void GLContext::set_swap_interval(unsigned)
+{
+       // TODO
+}
+
 void GLContext::swap_buffers()
 {
        flush_gl_buffer(priv->context);
 }
 
-void GLContext::window_resized(unsigned w, unsigned h)
+void GLContext::window_resized(unsigned, unsigned)
 {
        // XXX Call [context update] here?
 }