webgl: Mark framebuffers as uninitialized when their attached renderbuffer's storage changes.

This commit is contained in:
Josh Matthews 2018-09-10 19:27:15 -04:00
parent 93fbc1575f
commit 59b8f971b5
6 changed files with 3 additions and 7 deletions

View file

@ -532,6 +532,7 @@ impl WebGLFramebuffer {
pub fn invalidate_renderbuffer(&self, rb: &WebGLRenderbuffer) {
self.with_matching_renderbuffers(rb, |_att, _| {
self.is_initialized.set(false);
self.update_status();
});
}