diff options
Diffstat (limited to 'src/resources/atlas/atlasresource.cpp')
-rw-r--r-- | src/resources/atlas/atlasresource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlas/atlasresource.cpp b/src/resources/atlas/atlasresource.cpp index 06ae62542..eab7c660e 100644 --- a/src/resources/atlas/atlasresource.cpp +++ b/src/resources/atlas/atlasresource.cpp @@ -58,7 +58,7 @@ AtlasResource::~AtlasResource() void AtlasResource::incRef() { - if (!getRefCount()) + if (!mRefCount) AtlasManager::injectToResources(this); Resource::incRef(); } @@ -66,7 +66,7 @@ void AtlasResource::incRef() void AtlasResource::decRef() { Resource::decRef(); - if (!getRefCount()) + if (!mRefCount) AtlasManager::moveToDeleted(this); } |