Changes between Initial Version and Version 1 of Ticket #2041, comment 63
- Timestamp:
- Sep 18, 2014, 6:19:19 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2041, comment 63
initial v1 2 2 > On windows 7, setting a custom resolution doesn't work as should. Although I set in local.cfg the resolution at 1280x720, the game starts in native resolution (1920x1080 in my case). When I enter windowed mode however it appends to the set resolution. 3 3 4 This is because the window is created with the [https://wiki.libsdl.org/SDL_CreateWindow SDL_WINDOW_FULLSCREEN_DESKTOP] flag. With out that flag,toggling from fullscreen to windowed mode is broken on Windows and possibly other platforms (the window ends up at a strange resolution of 1916x1054 in my testing, an extra resize event is being sent).4 This is because the window is created with the [https://wiki.libsdl.org/SDL_CreateWindow SDL_WINDOW_FULLSCREEN_DESKTOP] flag. With only SDL_WINDOW_FULLSCREEN, it works as you want, but toggling from fullscreen to windowed mode is broken on Windows and possibly other platforms (the window ends up at a strange resolution of 1916x1054 in my testing, an extra resize event is being sent). 5 5 6 6 I haven't looked through all of SDL's bugtracker, but so far I haven't seen a report for this and it's still broken in their code repo.