mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove SAMPLE_COVERAGE_INVERT from WebGLRenderingContext::validate_feature_enum
This constant is not mentioned in the docs of glEnable or glIsEnabled.
This commit is contained in:
parent
1881c09a9c
commit
91d07a27db
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue