X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=6bc36f961d657070221cf508db993210fff49aff;hb=a7c06161253796a30a0237a7f5a044f459c8cf35;hp=59e5fd61c27c711c46e7a6cd07603505e8c26bc4;hpb=b06464b4dc26c0e31ef0bca48b31a4dfbdd549e6;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 59e5fd61..6bc36f96 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -439,7 +439,7 @@ void CloseVideoDisplay(void) void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) { #if 0 - static boolean initialized = FALSE; + printf("::: InitVideoBuffer\n"); #endif video.width = width; @@ -448,6 +448,7 @@ void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) video.fullscreen_available = FULLSCREEN_STATUS; video.fullscreen_enabled = FALSE; + // video.fullscreen_initial = FALSE; #if 0 video.fullscreen_mode_current = NULL; video.fullscreen_modes = NULL; @@ -455,13 +456,6 @@ void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) video.window_scaling_available = WINDOW_SCALING_STATUS; -#if 0 -#if defined(PLATFORM_ANDROID) - if (!initialized) - video.fullscreen_enabled = TRUE; -#endif -#endif - #if defined(TARGET_SDL) SDLInitVideoBuffer(&backbuffer, &window, fullscreen); #else @@ -469,10 +463,6 @@ void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) #endif drawto = backbuffer; - -#if 0 - initialized = TRUE; -#endif } inline static void FreeBitmapPointers(Bitmap *bitmap)