SDL: Disallow resizing the window when support is not available
The window can be resized when the game supports arbitrary resolutions
or the platform allows rendering to a framebuffer.
It does not make too much sense to request a compatibility profile with
OpenGL 2.1 since that notion was added in GL 3.2.
Fixes context creation on Windows with old nvidia drivers (v310.90).
Since the internal switch to OpenGL 2.0, residualvm stopped working entirely on the AmigaOS4 platform.
this is a followup to PR #1455
Obviously the Proile Mask must be set to "0" otherwise it will bail out again with a "Error: Invalid Window"
Since the internal switch to OpenGL 2.0, residualvm stopped working entirely on the AmigaOS4 platform.
Due to the fact that AmigaOS4 only supports OpenGL close to version 1.3, the program quits right after starting with an error message of not being able to create a proper screen.
This PR is to make residualvm work again on the AmigaOS4 platform (Grim Fandango is working great, EMI with a few glitches, TLJ not at all due to missing shaders).
Please revise and tell me what has to be changed to get accepted.
- configuration of engines natively supporting joystick or not
- for engines not supporting joystick input (Myst3, TLJ), reuse the ScummVM code to emulate mouse from joystick.
A modification was also needed to support relative movements (needed in Myst3 to support camera movements)