mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-18 16:21:07 +00:00
Added vsync to flashCurrentLayer.
This commit is contained in:
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user