| Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| index af62231e9fff713977271748900debb2cf5973c6..a0ddcf24107e680784c2d2eb7b7de4790fe2221a 100644
|
| --- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| @@ -474,8 +474,7 @@ bool GrGLProgramBuilder::checkLinkStatus(GrGLuint programID) {
|
| }
|
|
|
| void GrGLProgramBuilder::resolveProgramResourceLocations(GrGLuint programID) {
|
| - bool usingBindUniform = fGpu->glInterface()->fFunctions.fBindUniformLocation != nullptr;
|
| - if (!usingBindUniform) {
|
| + if (!fGpu->glCaps().bindUniformLocationSupport()) {
|
| int count = fUniforms.count();
|
| for (int i = 0; i < count; ++i) {
|
| GrGLint location;
|
|
|