GPU:Do not "decimate" the usageFlags.

Fix #7625
This commit is contained in:
sum2012 2015-03-23 07:25:44 +08:00
parent cac05197ed
commit 433347e3b6
2 changed files with 4 additions and 6 deletions

View File

@ -1157,9 +1157,8 @@ namespace DX9 {
vfbs_.erase(vfbs_.begin() + i--);
}
}
// Let's also "decimate" the usageFlags.
UpdateFramebufUsage(vfb);
else
UpdateFramebufUsage(vfb);
}
for (auto it = tempFBOs_.begin(); it != tempFBOs_.end(); ) {

View File

@ -1861,9 +1861,8 @@ void FramebufferManager::DecimateFBOs() {
vfbs_.erase(vfbs_.begin() + i--);
}
}
// Let's also "decimate" the usageFlags.
UpdateFramebufUsage(vfb);
else
UpdateFramebufUsage(vfb);
}
for (auto it = tempFBOs_.begin(); it != tempFBOs_.end(); ) {