X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=71d9fbbe7274d71555b4c7ef90552b78a8e78124;hb=78a2d1d2a6926a1e101bd5e21b667c81cfd230bb;hp=2d2551a22444c5e1ae83b237a034b01d84c30027;hpb=c42db18f39053cf2ec85943c37a20b8caa742d09;p=rocksndiamonds.git diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 2d2551a2..71d9fbbe 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -65,6 +65,10 @@ static void FinalizeScreen(int draw_target) // copy tile selection cursor to render target buffer, if defined (above all) if (gfx.draw_tile_cursor_function != NULL) gfx.draw_tile_cursor_function(draw_target); + + // copy global animations to render target buffer, if defined (mouse pointer) + if (gfx.draw_global_anim_function != NULL) + gfx.draw_global_anim_function(draw_target, DRAW_GLOBAL_ANIM_STAGE_3); } static void UpdateScreenExt(SDL_Rect *rect, boolean with_frame_delay)