mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Use AUTOLOCK macro (#660)
* Use AUTOLOCK macro * MxAutoLock * Remove semicolon Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com> --------- Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "mxvideomanager.h"
|
||||
|
||||
#include "mxautolocker.h"
|
||||
#include "mxautolock.h"
|
||||
#include "mxmisc.h"
|
||||
#include "mxomni.h"
|
||||
#include "mxpresenter.h"
|
||||
@@ -306,7 +306,7 @@ void MxVideoManager::InvalidateRect(MxRect32& p_rect)
|
||||
// FUNCTION: LEGO1 0x100bea90
|
||||
MxResult MxVideoManager::Tickle()
|
||||
{
|
||||
MxAutoLocker lock(&this->m_criticalSection);
|
||||
AUTOLOCK(m_criticalSection);
|
||||
|
||||
SortPresenterList();
|
||||
|
||||
|
Reference in New Issue
Block a user