]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/egl_android/glcontext.cpp
Remove glViewport calls from GLContext
[libs/gui.git] / source / graphics / egl_android / glcontext.cpp
index ecf9a63f29342515c6ec1be24a03e6f5bd995dd7..0e9873980606316bc6cf381383479e165741bf8e 100644 (file)
@@ -114,10 +114,8 @@ void GLContext::swap_buffers()
        eglSwapBuffers(priv->display, priv->surface);
 }
 
-void GLContext::window_resized(unsigned w, unsigned h)
-{
-       glViewport(0, 0, w, h);
-}
+void GLContext::window_resized(unsigned, unsigned)
+{ }
 
 
 void GLContext::Private::attach(WindowHandle native_window)