They've been broken for a long time with mspgl, probably since
framebuffer objects were implemented. The new GL::View class
takes care of viewport size syncing better.
void GLContext::window_resized(unsigned w, unsigned h)
{
// XXX Call [context update] here?
void GLContext::window_resized(unsigned w, unsigned h)
{
// XXX Call [context update] here?
- glViewport(0, 0, w, h);
}
} // namespace Graphics
}
} // namespace Graphics
eglSwapBuffers(priv->display, priv->surface);
}
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::Private::attach(WindowHandle native_window)
void GLContext::window_resized(unsigned w, unsigned h)
{
XMoveResizeWindow(display.get_private().display, priv->subwnd, 0, 0, w, h);
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
}
} // namespace Graphics
}
void GLContext::window_resized(unsigned w, unsigned h)
}
void GLContext::window_resized(unsigned w, unsigned h)
-{
- glViewport(0, 0, w, h);
-}
} // namespace Graphics
} // namespace Msp
} // namespace Graphics
} // namespace Msp