webgl: Don't forget to update FBO status after detaching a texture.

We had this in the renderbuffer detach process, but missed it in this
one.
This commit is contained in:
Eric Anholt 2016-11-01 21:28:25 -07:00
parent bf5a3db745
commit 8e681dddc1

View file

@ -293,6 +293,7 @@ impl WebGLFramebuffer {
if matched {
*attachment.borrow_mut() = None;
self.update_status();
}
}
}