aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-07-16 14:57:29 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-17 14:26:40 +0000
commit6dd4b209091b876832218e8adf1909669960bf98 (patch)
treee834cf17fe91e58fb386fa5a3ffcacf7cc64f5c1 /src/gpu
parentf6db495d2d3d1d535c51048a06091706e74f48f4 (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>
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/gl/builders/GrGLProgramBuilder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
index f65ea5b044..b60088d9c6 100644
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
@@ -306,7 +306,6 @@ GrGLProgram* GrGLProgramBuilder::finalize() {
GrGLPrintShader(fGpu->glContext(), GR_GL_FRAGMENT_SHADER, fFS.fCompilerStrings.begin(),
fFS.fCompilerStringLengths.begin(), fFS.fCompilerStrings.count(),
settings);
- SkDEBUGFAIL("");
return nullptr;
}
}