gl: add resize callback
At least the Wayland EGL backend needs to be notified of the size of the window (which is independent of glViewport()). This could conceivably also be implemented with a call to glGetIntegerv(GL_VIEWPORT), but that would introduce a dependency on the GL - which the EGL plugin has avoided so far.
Showing
Please register or sign in to comment