by Spindizzi » Sat Nov 11, 2017 2:49 am
hello,
Thx for your sdl2 port, I was looked 1 year ago with strict minimal change only, but at this moment, shadows was flickering as hell so not viable. It's corrected now, cool
My version is builded with v2.0.0.7 and your mod source code
my config, screen 0 : 1920x1200, screen 1 : 1440x900
Someone else noticed that :
The exit window cross box doesn't work anymore, esc is ok. This is due to windows message queue versus sdl message queue. As I read in the source code, the windows message was chosen because of the rawinput trouble
The fullscreen is quite strange (as you noticed too). if I set -fullscreen without -res, screen is stretched in a original resolution frame (496*384). Apparently aspect ratio (16/10 for me) of the screen applied to original resolution. If I set -fullscreen and -res (corresponding to the screen resolution (1920x1200 for me, it's ok).
-fullscreen <- bad
-fullscreen -res=800,600 <- bad
-fullscreen -res=1920,1200 <- ok
I suspect sdl2 not creating real screen at given resolution, but creating a screen on top of the desktop resolution. Maybe I'm wrong. It seems they talk about in their migration wiki page
Multi screen (span display onto the 2 monitors) not working in full screen for me but certainly because I've different screen resolution (desktop extended but no surround mode activated).
-fullscreen -res=3360,900 <- bad (only show a part of the game on screen 0)
However Working well assigning -screen=0 or -screen=1 in full screen resolution with right parameters of the screen
-fullscreen -screen=0 <- bad (stretched in a frame)
-fullscreen -screen=1 <- bad (stretched in a frame)
-fullscreen -screen=0 -res=1920,1200 <- ok
-fullscreen -screen=1 -res=1440,900 <- ok
Another thing I found, if mouse clicking in screen 0 after launching -fullscreen -screen=1 -res=1440,900 -> screen 1 becomes minimised
++