aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglrenderingcontext.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-09-19 12:31:55 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2018-09-20 11:31:54 +0200
commit943f95fe4717459c845df7f6a10a039e5adf8e97 (patch)
tree589e12df0702a41e84f4fde39d3a2590f8364e2e /components/script/dom/webglrenderingcontext.rs
parent819212e3b6817a60c83fe67fe758c32214f3fd11 (diff)
downloadservo-943f95fe4717459c845df7f6a10a039e5adf8e97.tar.gz
servo-943f95fe4717459c845df7f6a10a039e5adf8e97.zip
Remove some misplaced framebuffer validations
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r--components/script/dom/webglrenderingcontext.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs
index 61671ee3b15..f299b3ff2e4 100644
--- a/components/script/dom/webglrenderingcontext.rs
+++ b/components/script/dom/webglrenderingcontext.rs
@@ -1303,19 +1303,9 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
// GL_OES_read_format support (assuming an underlying GLES
// driver. Desktop is happy to format convert for us).
constants::IMPLEMENTATION_COLOR_READ_FORMAT => {
- handle_potential_webgl_error!(
- self,
- self.validate_framebuffer(),
- return NullValue()
- );
return Int32Value(constants::RGBA as i32);
},
constants::IMPLEMENTATION_COLOR_READ_TYPE => {
- handle_potential_webgl_error!(
- self,
- self.validate_framebuffer(),
- return NullValue()
- );
return Int32Value(constants::UNSIGNED_BYTE as i32);
},
constants::COMPRESSED_TEXTURE_FORMATS => {