commit | 6dd4b209091b876832218e8adf1909669960bf98 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon Jul 16 14:57:29 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jul 17 14:26:40 2018 +0000 |
tree | e834cf17fe91e58fb386fa5a3ffcacf7cc64f5c1 | |
parent | f6db495d2d3d1d535c51048a06091706e74f48f4 [diff] |
Remove crash when shader linking fails. Bug: 861956 Change-Id: If60c1f4112702d8f96cb27a624de167049b34370 Reviewed-on: https://skia-review.googlesource.com/141547 Auto-Submit: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp index f65ea5b..b60088d 100644 --- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp +++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
@@ -306,7 +306,6 @@ GrGLPrintShader(fGpu->glContext(), GR_GL_FRAGMENT_SHADER, fFS.fCompilerStrings.begin(), fFS.fCompilerStringLengths.begin(), fFS.fCompilerStrings.count(), settings); - SkDEBUGFAIL(""); return nullptr; } }