X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=94fe631b87a12e3f421dbf0b6148fc55443ce23d;hb=6fd606e95cceca17c82e2f97e2ca2832b238f96d;hp=39c78b3fef57230c58ae320f6632572ff1f1d64c;hpb=cf0ff8143f99393006fc7ebdafd9616becf0ccc6;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 39c78b3f..94fe631b 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -415,6 +415,13 @@ inline static void sysCopyArea(Bitmap *src_bitmap, Bitmap *dst_bitmap, #endif } +void LimitScreenUpdates(boolean enable) +{ +#if defined(TARGET_SDL) + SDLLimitScreenUpdates(enable); +#endif +} + void InitVideoDisplay(void) { #if defined(TARGET_SDL) @@ -438,12 +445,17 @@ void CloseVideoDisplay(void) void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) { +#if 0 + printf("::: InitVideoBuffer\n"); +#endif + 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;