sdl2: limit fullscreen resolution in OpenGL