introduce GFX2_UpdateScreen()

This commit is contained in:
Thomas Bernard
2018-06-19 12:14:33 +02:00
parent bf29a6837c
commit 22e0bcc01f
3 changed files with 24 additions and 4 deletions

View File

@@ -1093,11 +1093,17 @@ int Get_input(int sleep_time)
{
Compute_paintbrush_coordinates();
Display_cursor();
#if defined(USE_SDL2)
//GFX2_UpdateScreen();
#endif
return 1;
}
if (user_feedback_required)
return 1;
#if defined(USE_SDL2)
GFX2_UpdateScreen();
#endif
// Nothing significant happened
if (sleep_time)
SDL_Delay(sleep_time);