TexPool: Simplify code

This commit is contained in:
Jonas Kulla 2013-11-23 12:40:23 +01:00
parent da2f68cdba
commit ac9bc21947
1 changed files with 3 additions and 3 deletions

View File

@ -180,14 +180,14 @@ void TexPool::release(TEXFBO &obj)
TEXFBO::fini(last.obj);
uint32_t removedMem = byteCount(removedSize);
newMemSize -= removedMem;
p->memSize -= removedMem;
newMemSize -= byteCount(removedSize);;
--p->objCount;
// qDebug() << "TexPool: <!-> (" << last.obj.tex << last.obj.fbo << ")";
}
p->memSize = newMemSize;
/* Retain object */
p->priorityQueue.prepend(obj);
CacheNode cnode;