Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: src/gpu/gl/GrGLUtil.cpp

Issue 695663003: Cleanup: Go with SkDebugf instead of GrPrintf. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLUtil.h ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLUtil.cpp
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp
index 1ef66e05d1f43e69a0b23ef9b06c90b0b6d9e430..e6ebb2b653421516e9f87d8111d32ce36707e803 100644
--- a/src/gpu/gl/GrGLUtil.cpp
+++ b/src/gpu/gl/GrGLUtil.cpp
@@ -39,14 +39,14 @@ void GrGLCheckErr(const GrGLInterface* gl,
const char* call) {
uint32_t err = GR_GL_GET_ERROR(gl);
if (GR_GL_NO_ERROR != err) {
- GrPrintf("---- glGetError 0x%x(%s)", err, get_error_string(err));
+ SkDebugf("---- glGetError 0x%x(%s)", err, get_error_string(err));
if (location) {
- GrPrintf(" at\n\t%s", location);
+ SkDebugf(" at\n\t%s", location);
}
if (call) {
- GrPrintf("\n\t\t%s", call);
+ SkDebugf("\n\t\t%s", call);
}
- GrPrintf("\n");
+ SkDebugf("\n");
}
}
« no previous file with comments | « src/gpu/gl/GrGLUtil.h ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698