Codechange: remove the unused lock around Blitter

This commit is contained in:
Patric Stout
2021-02-27 12:11:58 +01:00
committed by Patric Stout
parent 4610aa7ae3
commit b9eac7c6dc
3 changed files with 0 additions and 20 deletions

View File

@@ -1480,9 +1480,7 @@ void DrawDirtyBlocks()
if (!IsFirstModalProgressLoop()) CSleep(MODAL_PROGRESS_REDRAW_TIMEOUT);
/* Modal progress thread may need blitter access while we are waiting for it. */
VideoDriver::GetInstance()->ReleaseBlitterLock();
_modal_progress_paint_mutex.lock();
VideoDriver::GetInstance()->AcquireBlitterLock();
_modal_progress_work_mutex.lock();
/* When we ended with the modal progress, do not draw the blocks.