Bug 1192472 - Only do supplemental isArray check if WorkAroundDriverBugs. - r=kamidphish

This commit is contained in:
Jeff Gilbert 2015-08-07 19:29:53 -07:00
parent f564deae5f
commit 2654a75663

View File

@ -171,7 +171,7 @@ QueryProgramInfo(WebGLProgram* prog, gl::GLContext* gl)
// Uniforms
const bool needsCheckForArrays = true;
const bool needsCheckForArrays = gl->WorkAroundDriverBugs();
GLuint numActiveUniforms = 0;
gl->fGetProgramiv(prog->mGLName, LOCAL_GL_ACTIVE_UNIFORMS,