X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=b6cdf649725b3fd08feccd44f152430e4a3069ca;hb=68d1418be737276c8214780106399c0dae588d1c;hp=0c75045275d224924c40bdf96eff2949b6f2c3b5;hpb=610e1570ca2492a97cfc5cf6a3794c07b605df48;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 0c750452..b6cdf649 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -438,18 +438,21 @@ void CloseVideoDisplay(void) void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) { + printf("::: InitVideoBuffer\n"); + video.width = width; video.height = height; video.depth = GetRealDepth(depth); video.fullscreen_available = FULLSCREEN_STATUS; video.fullscreen_enabled = FALSE; + // video.fullscreen_initial = FALSE; #if 0 video.fullscreen_mode_current = NULL; video.fullscreen_modes = NULL; #endif - video.window_scaling_available = TRUE; + video.window_scaling_available = WINDOW_SCALING_STATUS; #if defined(TARGET_SDL) SDLInitVideoBuffer(&backbuffer, &window, fullscreen);