Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 28e1fba20cfca8eaf70e671414576be9bb6b48a6..a3b0d686a4a8bba18ee297c00b99180110db8e44 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -207,7 +207,7 @@ bool GrGLProgramBuilder::emitAndInstallProcs(GrGLSLExpr4* inputColor, GrGLSLExpr |
totalTextures += processor->numTextures(); |
if (totalTextures >= maxTextureUnits) { |
- GrContextDebugf(fGpu->getContext(), "Program would use too many texture units\n"); |
+ GrCapsDebugf(fGpu->caps(), "Program would use too many texture units\n"); |
return false; |
} |
} |