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