diff options
author | Paul Gilbert | 2012-06-14 22:07:36 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-06-14 22:07:36 +1000 |
commit | e55a16271e4a686d6a23bdb479cd5cf8ac89594a (patch) | |
tree | ac2dc6577da4414ab78569643fbd37dd48420ea1 /engines | |
parent | d4e9aa78aba58ba96d99595410fd46dd351b8aca (diff) | |
download | scummvm-rg350-e55a16271e4a686d6a23bdb479cd5cf8ac89594a.tar.gz scummvm-rg350-e55a16271e4a686d6a23bdb479cd5cf8ac89594a.tar.bz2 scummvm-rg350-e55a16271e4a686d6a23bdb479cd5cf8ac89594a.zip |
TONY: Removed unused global static object and associated method
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tony/gfxcore.cpp | 7 | ||||
-rw-r--r-- | engines/tony/gfxcore.h | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp index e168d2b7c9..37fc947912 100644 --- a/engines/tony/gfxcore.cpp +++ b/engines/tony/gfxcore.cpp @@ -251,8 +251,6 @@ RMGfxWoodyBuffer::RMGfxWoodyBuffer(int dimx, int dimy, bool bUseDDraw) * RMGfxTargetBuffer Methods \****************************************************************************/ -RMGfxClearTask RMGfxTargetBuffer::taskClear; - RMGfxTargetBuffer::RMGfxTargetBuffer() { _otlist = NULL; _otSize = 0; @@ -376,11 +374,6 @@ void RMGfxTargetBuffer::addPrim(RMGfxPrimitive *prim) { // g_system->unlockMutex(csModifyingOT); } -void RMGfxTargetBuffer::addClearTask(void) { - addPrim(new RMGfxPrimitive(&taskClear)); -} - - /****************************************************************************\ * RMGfxSourceBufferPal Methods \****************************************************************************/ diff --git a/engines/tony/gfxcore.h b/engines/tony/gfxcore.h index 4461f41271..e221753a47 100644 --- a/engines/tony/gfxcore.h +++ b/engines/tony/gfxcore.h @@ -548,8 +548,6 @@ public: */ class RMGfxTargetBuffer : public virtual RMGfxBuffer { private: - static RMGfxClearTask taskClear; - struct OTList { RMGfxPrimitive *_prim; OTList *_next; @@ -576,9 +574,6 @@ public: void drawOT(CORO_PARAM); void addPrim(RMGfxPrimitive *prim); // The pointer must be delted - // Adds a task to clear the screen - void addClearTask(void); - operator byte *() { return _buf; } |