wxWakeUpIdle when render timer ends to ensure idle function spawns and triggers rendering

This commit is contained in:
David Kocik 2021-01-07 12:54:53 +01:00
parent 8e7958da12
commit f43b34fb57
2 changed files with 2 additions and 1 deletions

View file

@ -2996,6 +2996,7 @@ void GLCanvas3D::on_render_timer(wxTimerEvent& evt)
}
//render();
m_dirty = true;
wxWakeUpIdle();
}
void GLCanvas3D::request_extra_frame_delayed(int miliseconds)