Loading
win32u: Support OpenGL scaling according to emulated resolution.
This implements GL rendering virtualization (aka fshack) whenever display mode emulation is enabled, rendering to an FBO surface at the expected virtual size, which is then itself rendered to the actual physical sized host window. This is a first step, it doesn't support things like gamma ramp emulation or SRGB framebuffer yet, nor does it support dynamically switching from this to non-emulated rendering for when display mode matches the physical size, but that will be added later. Child window compositing still requires offscreen rendering for now for clipping reasons.
Edited by Rémi Bernon