]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/glx/glcontext.cpp
Remove glViewport calls from GLContext
[libs/gui.git] / source / graphics / glx / glcontext.cpp
index 26275a4b6b7ee5cf6626b23f00abe6ddee92f4a2..e4662f37627ceb18685c660692704f065b45e5f1 100644 (file)
@@ -92,7 +92,6 @@ void GLContext::swap_buffers()
 void GLContext::window_resized(unsigned w, unsigned h)
 {
        XMoveResizeWindow(display.get_private().display, priv->subwnd, 0, 0, w, h);
-       glViewport(0, 0, w, h);
 }
 
 } // namespace Graphics