Revert window fullscreen stuff until we have aspect-correct upscaling

pass.

git-svn-id: https://svn.eduke32.com/eduke32@4466 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
Plagman 2014-05-10 21:20:09 +00:00
parent 78df6ab4b1
commit 8f12e0dca0

View file

@ -1489,7 +1489,7 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs)
}
# else
sdl_window = SDL_CreateWindow("", windowpos ? windowx : SDL_WINDOWPOS_CENTERED ,windowpos ? windowy : SDL_WINDOWPOS_CENTERED,
x,y, ((fs&1)?SDL_WINDOW_FULLSCREEN_DESKTOP:0) | SDL_WINDOW_OPENGL);
x,y, ((fs&1)?SDL_WINDOW_FULLSCREEN:0) | SDL_WINDOW_OPENGL);
if (!sdl_window)
{
initprintf("Unable to set video mode: SDL_CreateWindow failed: %s\n",
@ -1542,7 +1542,7 @@ int32_t setvideomode(int32_t x, int32_t y, int32_t c, int32_t fs)
// init
sdl_window = SDL_CreateWindow("", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
x, y, ((fs&1) ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0));
x, y, ((fs&1) ? SDL_WINDOW_FULLSCREEN : 0));
if (!sdl_window)
SDL2_VIDEO_ERR("SDL_CreateWindow");