]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/cgl/glcontext.cpp
Remove glViewport calls from GLContext
[libs/gui.git] / source / graphics / cgl / glcontext.cpp
index 8283825063f3ded5ba2a4ac0d8c51e5e8d5d64f0..748b9b1416eb338a6d21a30b40c0fbdaa7682437 100644 (file)
@@ -75,7 +75,6 @@ void GLContext::swap_buffers()
 void GLContext::window_resized(unsigned w, unsigned h)
 {
        // XXX Call [context update] here?
-       glViewport(0, 0, w, h);
 }
 
 } // namespace Graphics