void GLContext::window_resized(unsigned w, unsigned h)
{
// XXX Call [context update] here?
- glViewport(0, 0, w, h);
}
} // namespace Graphics
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)
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
}
void GLContext::window_resized(unsigned w, unsigned h)
-{
- glViewport(0, 0, w, h);
-}
+{ }
} // namespace Graphics
} // namespace Msp