GPUFramebuffer: Tag dirty after recursing downsample

Also do not bind automatically. This is fine since the framebuffer will
update next time it's bound.
This commit is contained in:
Clément Foucault 2020-08-29 17:46:24 +02:00
parent 8527d84d35
commit d98c722a5a
1 changed files with 1 additions and 2 deletions

View File

@ -200,8 +200,7 @@ void FrameBuffer::recursive_downsample(int max_lvl,
attachments_[att].mip = 0;
}
}
/* Reattach base level textures. */
this->bind(true);
dirty_attachments_ = true;
}
/** \} */