Skip to content

Commit

Permalink
Bug 1382358 - Allow unusual/spurious glsl versions in non-DEBUG build…
Browse files Browse the repository at this point in the history
…s. - r=kvark

MozReview-Commit-ID: GbJb9ankCGl
  • Loading branch information
kdashg committed Jul 20, 2017
1 parent 64c2485 commit 537fa49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom/canvas/WebGLShaderValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ShaderOutput(gl::GLContext* gl)
case 440: return SH_GLSL_440_CORE_OUTPUT;
case 450: return SH_GLSL_450_CORE_OUTPUT;
default:
MOZ_CRASH("GFX: Unexpected GLSL version.");
MOZ_ASSERT(false, "GFX: Unexpected GLSL version.");
}
}

Expand Down

0 comments on commit 537fa49

Please sign in to comment.