Navigation Menu

Skip to content

Commit

Permalink
webgl: Allow enable/disable of STENCIL_TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
anholt committed Jan 4, 2017
1 parent 384e905 commit c6f73a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion components/script/dom/webglrenderingcontext.rs
Expand Up @@ -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
Expand Down

This file was deleted.

0 comments on commit c6f73a6

Please sign in to comment.