Fix silly typo breaking alpha test in many cases. Make some log VERBOSE.

This commit is contained in:
Henrik Rydgard 2013-03-11 19:40:31 +01:00
parent 14b35c8d2d
commit de469e77a4
3 changed files with 7 additions and 5 deletions

View file

@ -554,8 +554,10 @@ void FramebufferManager::DestroyAllFBOs() {
for (auto iter = vfbs_.begin(); iter != vfbs_.end(); ++iter) {
VirtualFramebuffer *vfb = *iter;
textureCache_->NotifyFramebufferDestroyed(vfb->fb_address, vfb);
if (vfb->fbo)
if (vfb->fbo) {
fbo_destroy(vfb->fbo);
vfb->fbo = 0;
}
delete vfb;
}
vfbs_.clear();