X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=59fe7c3df988d35d5a7269041c2c83e2c0745e30;hb=5f79070adb29e80f70763d4e37034c7e749a6817;hp=9ecc97fc29fd55a2c2deaf7cb45f2754b914aae8;hpb=21e33411cb221de827be347312ad67c59b7d5a95;p=rocksndiamonds.git diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 9ecc97fc..59fe7c3d 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -62,14 +62,14 @@ static void FinalizeScreen(int draw_target) if (gfx.draw_global_anim_function != NULL) gfx.draw_global_anim_function(draw_target, DRAW_GLOBAL_ANIM_STAGE_2); - // copy envelope request to render target buffer, if needed (above all) - if (gfx.draw_envelope_request_function != NULL) - gfx.draw_envelope_request_function(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 envelope request to render target buffer, if needed (above all) + if (gfx.draw_envelope_request_function != NULL) + gfx.draw_envelope_request_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);