From eaec5de1849beb6f7b3e464851044c9429a23537 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 1 Nov 2016 21:27:21 -0700 Subject: [PATCH] webgl: Only update FBO status once in framebufferTexture2D(). We update it below after we send the actual FramebufferTexture2D command to the GL. --- components/script/dom/webglframebuffer.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/script/dom/webglframebuffer.rs b/components/script/dom/webglframebuffer.rs index ef40fecac197..25026dac22d1 100644 --- a/components/script/dom/webglframebuffer.rs +++ b/components/script/dom/webglframebuffer.rs @@ -277,7 +277,6 @@ impl WebGLFramebuffer { _ => { *binding.borrow_mut() = None; - self.update_status(); None } };