Skip to content
Permalink
Browse files

Bug 1048741 - [WebGL2] texParameter: Fix silly bug in TEXTURE_COMPARE…

…_FUNC handling.
  • Loading branch information...
rmottola committed Jul 6, 2019
1 parent 90a2b7c commit ccc90dae3572d06fb38dfcbb044bd6f8a396c9e9
Showing with 2 additions and 2 deletions.
  1. +2 −2 dom/canvas/WebGLContextGL.cpp
@@ -1502,10 +1502,10 @@ void WebGLContext::TexParameter_base(GLenum rawTarget, GLenum pname,
case LOCAL_GL_NOTEQUAL:
case LOCAL_GL_ALWAYS:
case LOCAL_GL_NEVER:
paramValueInvalid = false;
break;

default:
paramValueInvalid = true;
pnameAndParamAreIncompatible = true;
}
break;

0 comments on commit ccc90da

Please sign in to comment.
You can’t perform that action at this time.