Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 122331dde35d243684afcc403c0589003f05a98d..917a2ff1f5388b80cfb2255ae5399331718e779a 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -1419,7 +1419,7 @@ bool GrGLGpu::flushGLState(const DrawArgs& args) { |
fCurrentProgram.reset(fProgramCache->getProgram(args)); |
if (NULL == fCurrentProgram.get()) { |
- SkDEBUGFAIL("Failed to create program!"); |
+ GrContextDebugf(this->getContext(), "Failed to create program!\n"); |
return false; |
} |