Bug 1328559 - Remove assert and update comment.

MozReview-Commit-ID: 3PYzMsqB9MK
This commit is contained in:
Jeff Gilbert
2017-01-05 01:56:03 -08:00
parent 7278b2c5f1
commit ec9a868455

View File

@@ -245,10 +245,7 @@ QueryProgramInfo(WebGLProgram* prog, gl::GLContext* gl)
if (gl->WorkAroundDriverBugs() && if (gl->WorkAroundDriverBugs() &&
mappedName.EqualsIgnoreCase("gl_", 3)) mappedName.EqualsIgnoreCase("gl_", 3))
{ {
// Catch when this is fixed, so we can remove this. // Bug 1328559: Appears problematic on ANGLE and OSX, but not Linux or Win+GL.
// Or, discover if this happens outside ANGLE.
MOZ_ASSERT(gl->IsANGLE() == (loc != -1));
loc = -1; loc = -1;
} }
#ifdef DUMP_SHADERVAR_MAPPINGS #ifdef DUMP_SHADERVAR_MAPPINGS