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

@ -145,6 +145,7 @@ impl WebGLRenderbuffer {
};
self.internal_format.set(Some(internal_format));
self.is_initialized.set(false);
// FIXME: Invalidate completeness after the call