1
0
mirror of https://github.com/aseprite/aseprite.git synced 2025-03-21 16:20:53 +00:00

Added vsync to flashCurrentLayer.

This commit is contained in:
David Capello 2010-03-30 23:49:36 -03:00
parent dd2c8d1730
commit dceb182070

@ -559,6 +559,9 @@ void Editor::flashCurrentLayer()
editor_draw_sprite(0, 0, m_sprite->getWidth()-1, m_sprite->getHeight()-1);
gui_flip_screen();
vsync();
rest(1);
image_clear(flash_image, flash_image->mask_color);
editor_draw_sprite(0, 0, m_sprite->getWidth()-1, m_sprite->getHeight()-1);
}