When switching from full screen to window mod with alt+enter it's not possible to resize the window even when upscaling is enabled.
is that because the resolution of the window is 640x480
is it a SDL issue?
No, it is simply because we do not set the SDL_WINDOW_RESIZABLE when starting the game in fullscreen mode:
https://github.com/diasurgical/devilutionX/blob/master/SourceX/display.cpp#L83
Should be simple to fix.
@AJenbo in this case, it would solve it?
if (fullscreen) {
flag |= SDL_WINDOW_FULLSCREEN_DESKTOP;
}
flags |= SDL_WINDOW_RESIZABLE;
Feel free to send a PR
tested this fix with my latest build
working great