aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-04-04 17:49:22 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2018-04-05 09:31:13 +0200
commit91d07a27db8ffb2b81bd6b3080312c8719094de0 (patch)
tree70efd71de4b17fb0300c32971c3d555a1746a22d /components/script
parent1881c09a9cb42296f17213fc75c2882ae8e537e4 (diff)
downloadservo-91d07a27db8ffb2b81bd6b3080312c8719094de0.tar.gz
servo-91d07a27db8ffb2b81bd6b3080312c8719094de0.zip
Remove SAMPLE_COVERAGE_INVERT from WebGLRenderingContext::validate_feature_enum
This constant is not mentioned in the docs of glEnable or glIsEnabled.
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/webglrenderingcontext.rs2
1 files changed, 1 insertions, 1 deletions
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