Merge remote-tracking branch 'remotes/upstream/master' into SDL2port
Merge remote-tracking branch 'remotes/upstream/master' into SDL2port
Merge remote-tracking branch 'remotes/upstream/master' into SDL2port
Sync SDL2 renderer with master changes
* Recreate renderer on settings change
* on DirectX implementation images are corrupted after applying settings (related to renderer recreation)
* on DirectX implementation changing window resolution avoids creating new textures and game exits