TexPool: Fix wrong total memory consumption calculation
The byte count of textures released into the pool was erroneously added twice to the total byte count.
This commit is contained in:
parent
fbf02cf2ce
commit
922a16a013
|
@ -196,7 +196,6 @@ void TexPool::release(TEXFBO &obj)
|
|||
CNodeList &bucket = p->poolHash[size];
|
||||
bucket.append(cnode);
|
||||
|
||||
p->memSize += byteCount(size);
|
||||
++p->objCount;
|
||||
|
||||
// qDebug() << "TexPool: <!+> (" << obj.width << obj.height << ") Current size:" << p->memSize;
|
||||
|
|
Loading…
Reference in New Issue