GUI2: reduce draw interval from 30 to 20

This matches the change to draw_interval made in the renderpath_redo_new branch and seems to have been
the cause of the performance bump.
This commit is contained in:
Charles Dang 2016-10-27 03:59:49 +11:00
parent 0b98a78d7e
commit c70da182b1

View file

@ -574,7 +574,7 @@ int twindow::show(const bool restore, const unsigned auto_close_timeout)
tdraw_interval_setter() : interval_(draw_interval)
{
if(interval_ == 0) {
draw_interval = 30;
draw_interval = 20;
SDL_AddTimer(draw_interval, draw_timer, nullptr);
// There might be some time between creation and showing so