Skip to content

Commit

Permalink
webgl: Only update FBO status once in framebufferTexture2D().
Browse files Browse the repository at this point in the history
We update it below after we send the actual FramebufferTexture2D
command to the GL.
  • Loading branch information
anholt committed Nov 5, 2016
1 parent 5e5eb18 commit eaec5de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/script/dom/webglframebuffer.rs
Expand Up @@ -277,7 +277,6 @@ impl WebGLFramebuffer {


_ => { _ => {
*binding.borrow_mut() = None; *binding.borrow_mut() = None;
self.update_status();
None None
} }
}; };
Expand Down

0 comments on commit eaec5de

Please sign in to comment.