]> git.tdb.fi Git - libs/gui.git/commitdiff
Remove names from unused parameters
authorMikko Rasa <tdb@tdb.fi>
Fri, 16 Sep 2016 21:43:15 +0000 (00:43 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 16 Sep 2016 21:43:15 +0000 (00:43 +0300)
source/graphics/cgl/glcontext.cpp
source/graphics/wgl/glcontext.cpp

index 748b9b1416eb338a6d21a30b40c0fbdaa7682437..4d51052175902d85db9805ee34a2c0c81aaae135 100644 (file)
@@ -72,7 +72,7 @@ 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?
 }
index b6b2c5f91a68dc1d9260aec31ef3dc38d7c1beb2..844f7a712c990a1442a7f442c4d50e5034e5b602 100644 (file)
@@ -60,7 +60,7 @@ void GLContext::swap_buffers()
        ReleaseDC(window.get_private().window, dc);
 }
 
-void GLContext::window_resized(unsigned w, unsigned h)
+void GLContext::window_resized(unsigned, unsigned)
 { }
 
 } // namespace Graphics