diff options
author | Eric Anholt <eric@anholt.net> | 2017-01-01 22:04:14 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-01-04 09:57:38 -0800 |
commit | c6f73a612a88a01a31d2674a00f10bd8509529f9 (patch) | |
tree | 53b043068bbef886ce993421bac3826e7acf1614 /components/script/dom/webglrenderingcontext.rs | |
parent | 384e905be23cd10e7bc352da1171b9af9e6eaddc (diff) | |
download | servo-c6f73a612a88a01a31d2674a00f10bd8509529f9.tar.gz servo-c6f73a612a88a01a31d2674a00f10bd8509529f9.zip |
webgl: Allow enable/disable of STENCIL_TEST
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 7ac39c13e1f..ba1950a9ba7 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -552,7 +552,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 => true, + constants::SAMPLE_COVERAGE_INVERT | constants::SCISSOR_TEST | constants::STENCIL_TEST => true, _ => { self.webgl_error(InvalidEnum); false |