Skip to content

Commit

Permalink
webgl: Don't forget to update FBO status after detaching a texture.
Browse files Browse the repository at this point in the history
We had this in the renderbuffer detach process, but missed it in this
one.
  • Loading branch information
anholt committed Nov 5, 2016
1 parent bf5a3db commit 8e681dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/script/dom/webglframebuffer.rs
Expand Up @@ -293,6 +293,7 @@ impl WebGLFramebuffer {

if matched {
*attachment.borrow_mut() = None;
self.update_status();
}
}
}
Expand Down

0 comments on commit 8e681dd

Please sign in to comment.