Index: src/gpu/gl/GrGLProgramDataManager.cpp |
diff --git a/src/gpu/gl/GrGLProgramDataManager.cpp b/src/gpu/gl/GrGLProgramDataManager.cpp |
index ef2f59e664c17755932b3eaf0ab5b1c70fc95aa1..ce2598e24641613d90c360c20e25b949ffffb231 100644 |
--- a/src/gpu/gl/GrGLProgramDataManager.cpp |
+++ b/src/gpu/gl/GrGLProgramDataManager.cpp |
@@ -261,7 +261,7 @@ void GrGLProgramDataManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix |
#ifdef SK_DEBUG |
void GrGLProgramDataManager::printUnused(const Uniform& uni) const { |
if (kUnusedUniform == uni.fFSLocation && kUnusedUniform == uni.fVSLocation) { |
- GrContextDebugf(fGpu->getContext(), "Unused uniform in shader\n"); |
+ GrCapsDebugf(fGpu->caps(), "Unused uniform in shader\n"); |
} |
} |
#endif |