Added vsync to flashCurrentLayer.

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

View File

@ -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);
}