From 91d07a27db8ffb2b81bd6b3080312c8719094de0 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Wed, 4 Apr 2018 17:49:22 +0200 Subject: [PATCH] Remove SAMPLE_COVERAGE_INVERT from WebGLRenderingContext::validate_feature_enum This constant is not mentioned in the docs of glEnable or glIsEnabled. --- components/script/dom/webglrenderingcontext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 82e8c813c2f..1fbc49fcb03 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -1113,7 +1113,7 @@ impl WebGLRenderingContext { match cap { constants::BLEND | constants::CULL_FACE | constants::DEPTH_TEST | constants::DITHER | constants::POLYGON_OFFSET_FILL | constants::SAMPLE_ALPHA_TO_COVERAGE | constants::SAMPLE_COVERAGE | - constants::SAMPLE_COVERAGE_INVERT | constants::SCISSOR_TEST | constants::STENCIL_TEST => true, + constants::SCISSOR_TEST | constants::STENCIL_TEST => true, _ => { self.webgl_error(InvalidEnum); false