diff options
author | Paul Gilbert | 2012-05-04 00:11:38 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-04 00:11:38 +1000 |
commit | 5b2c69b1f291b1ee3d7f3be4ffd40e427b437ac6 (patch) | |
tree | 034a0b5e8b604056b767bfc283e5c3583cfe0c31 /engines/tony/gfxcore.cpp | |
parent | 6d0f1fca46c8bd9b5b4e7ccaf6631850c29d1447 (diff) | |
download | scummvm-rg350-5b2c69b1f291b1ee3d7f3be4ffd40e427b437ac6.tar.gz scummvm-rg350-5b2c69b1f291b1ee3d7f3be4ffd40e427b437ac6.tar.bz2 scummvm-rg350-5b2c69b1f291b1ee3d7f3be4ffd40e427b437ac6.zip |
TONY: Implemented some missing and incorrect init code
Diffstat (limited to 'engines/tony/gfxcore.cpp')
-rw-r--r-- | engines/tony/gfxcore.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index a25c28a03d..b5dc79687a 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -290,15 +290,14 @@ RMGfxClearTask RMGfxTargetBuffer::taskClear; RMGfxTargetBuffer::RMGfxTargetBuffer() { otlist = NULL; -// InitializeCriticalSection(&csModifyingOT); + csModifyingOT = g_system->createMutex(); } RMGfxTargetBuffer::~RMGfxTargetBuffer() { ClearOT(); -// DeleteCriticalSection(&csModifyingOT); + g_system->deleteMutex(csModifyingOT); } - void RMGfxTargetBuffer::ClearOT(void) { OTList *cur, *n; |