Jeck - Minor fix to r866, quads are now invalidated before being recycled.
This commit is contained in:
@@ -340,6 +340,7 @@ void WCachedTexture::Trash(){
|
||||
if(WCachedTexture::garbageTQs.size() > MAX_CACHE_GARBAGE)
|
||||
SAFE_DELETE(tq);
|
||||
else{
|
||||
tq->Trash();
|
||||
WCachedTexture::garbageTQs.push_back(tq);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user