Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 8674 → Rev 8675

/source/build/src/sdlayer.cpp
1756,12 → 1756,9
 
setrefreshrate();
 
sdl_surface = SDL_GetWindowSurface(sdl_window);
if (!sdl_surface)
{
sdl_surface = SDL_GetWindowSurface(sdl_window);
if (!sdl_surface)
SDL2_VIDEO_ERR("SDL_GetWindowSurface");
}
SDL2_VIDEO_ERR("SDL_GetWindowSurface");
 
SDL_SetWindowFullscreen(sdl_window, ((fs & 1) ? (matchedResolution ? SDL_WINDOW_FULLSCREEN_DESKTOP : SDL_WINDOW_FULLSCREEN) : 0));
}