diff options
author | Eric Anholt <eric@anholt.net> | 2016-11-01 21:28:25 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-11-05 10:31:41 -0700 |
commit | 8e681dddc18c7aaaa7df5f7974274a62430c99f5 (patch) | |
tree | 3e7fc9d3123d005a8f56339fdab56a8c9ac20de2 /components/script/dom/webglframebuffer.rs | |
parent | bf5a3db745151f79aaa6cd45d4a1ebd4648bcb62 (diff) | |
download | servo-8e681dddc18c7aaaa7df5f7974274a62430c99f5.tar.gz servo-8e681dddc18c7aaaa7df5f7974274a62430c99f5.zip |
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.
Diffstat (limited to 'components/script/dom/webglframebuffer.rs')
-rw-r--r-- | components/script/dom/webglframebuffer.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webglframebuffer.rs b/components/script/dom/webglframebuffer.rs index 44f9586adb1..2571586ab11 100644 --- a/components/script/dom/webglframebuffer.rs +++ b/components/script/dom/webglframebuffer.rs @@ -293,6 +293,7 @@ impl WebGLFramebuffer { if matched { *attachment.borrow_mut() = None; + self.update_status(); } } } |