diff options
Diffstat (limited to 'engines/sword25/gfx/renderobjectptr.h')
-rw-r--r-- | engines/sword25/gfx/renderobjectptr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/renderobjectptr.h b/engines/sword25/gfx/renderobjectptr.h index 894ba877d2..c22c6e83e7 100644 --- a/engines/sword25/gfx/renderobjectptr.h +++ b/engines/sword25/gfx/renderobjectptr.h @@ -54,7 +54,7 @@ public: RenderObjectPtr(uint handle) : _handle(handle) {} T *operator->() const { - return static_cast<T *>(RenderObjectRegistry::getInstance().resolveHandle(_handle)); + return static_cast<T *>(RenderObjectRegistry::instance().resolveHandle(_handle)); } bool operator==(const RenderObjectPtr<T> & other) { @@ -62,11 +62,11 @@ public: } bool isValid() const { - return RenderObjectRegistry::getInstance().resolveHandle(_handle) != 0; + return RenderObjectRegistry::instance().resolveHandle(_handle) != 0; } void erase() { - delete static_cast<T *>(RenderObjectRegistry::getInstance().resolveHandle(_handle)); + delete static_cast<T *>(RenderObjectRegistry::instance().resolveHandle(_handle)); _handle = 0; } |