Lost in merge: e95216b5
pull/221/head
Jonathan G Rennison 3 years ago
parent 2221805ddd
commit c9ab460a03

@ -1551,7 +1551,7 @@ void DrawDirtyBlocks()
_modal_progress_work_mutex.unlock();
/* Wait a while and hope the modal gives us a bit of time to draw the GUI. */
if (!is_first_modal_progress_loop) CSleep(MODAL_PROGRESS_REDRAW_TIMEOUT);
if (!is_first_modal_progress_loop) SleepWhileModalProgress(MODAL_PROGRESS_REDRAW_TIMEOUT);
/* Modal progress thread may need blitter access while we are waiting for it. */
VideoDriver::GetInstance()->ReleaseBlitterLock();

Loading…
Cancel
Save