added selecting element for group elements according to current level
[rocksndiamonds.git] / src / libgame / sdl.c
index 71d9fbbe7274d71555b4c7ef90552b78a8e78124..59fe7c3df988d35d5a7269041c2c83e2c0745e30 100644 (file)
@@ -66,6 +66,10 @@ static void FinalizeScreen(int draw_target)
   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);