X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=6b38ce15ba6fd28bcac51149c2629914932f0376;hp=2fd019ce624e2070fa9e9f40641ad835d6505eb9;hb=cd6f67fb2096aecb1d43e8684eead6a6232ef768;hpb=6e14e0f1251b17881f44fdddc489c19d7ad7a373 diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 2fd019ce..6b38ce15 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -95,7 +95,7 @@ static void UpdateScreen(SDL_Rect *rect) // copy global masked border to render target buffer, if defined if (gfx.draw_global_border_function != NULL) - gfx.draw_global_border_function(REDRAW_ALL); + gfx.draw_global_border_function(DRAW_BORDER_TO_SCREEN); // copy global animations to render target buffer, if defined (above border) if (gfx.draw_global_anim_function != NULL) @@ -140,7 +140,7 @@ static void UpdateScreen(SDL_Rect *rect) // copy global masked border to render target buffer, if defined if (gfx.draw_global_border_function != NULL) - gfx.draw_global_border_function(REDRAW_ALL); + gfx.draw_global_border_function(DRAW_BORDER_TO_SCREEN); // copy global animations to render target buffer, if defined (above border) if (gfx.draw_global_anim_function != NULL)