| Index: src/gpu/gl/GrGLProgram.cpp
|
| diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp
|
| index f1bb1f3a1adc09f0918be5ade57a6da35534e0ac..83ab232810967d2cb91f9a1844f453e0289ff103 100644
|
| --- a/src/gpu/gl/GrGLProgram.cpp
|
| +++ b/src/gpu/gl/GrGLProgram.cpp
|
| @@ -364,7 +364,7 @@ GrGLuint compile_shader(const GrGLContext& gl,
|
| print_shader(stringCnt, strings, stringLengths);
|
| GrPrintf("\n%s", log.get());
|
| }
|
| - SkASSERT(!"Shader compilation failed!");
|
| + SkDEBUGFAIL("Shader compilation failed!");
|
| GR_GL_CALL(gli, DeleteShader(shader));
|
| return 0;
|
| }
|
| @@ -742,7 +742,7 @@ bool GrGLProgram::bindOutputsAttribsAndLinkProgram(const GrGLShaderBuilder& buil
|
| (char*)log.get()));
|
| GrPrintf((char*)log.get());
|
| }
|
| - SkASSERT(!"Error linking program");
|
| + SkDEBUGFAIL("Error linking program");
|
| GL_CALL(DeleteProgram(fProgramID));
|
| fProgramID = 0;
|
| return false;
|
|
|