diff options
author | 2016-11-11 12:38:50 -0500 | |
---|---|---|
committer | 2016-11-11 18:21:14 +0000 | |
commit | 498d403f7703cb2157bf3c877b84906db5a06cd4 (patch) | |
tree | 88d7c27bbaee6d9b9614e29f9363b15543b7860c /bench | |
parent | 041da389dd923689041ba5e45cda34901ba4fe8a (diff) |
re-land of skslc now uses standard Skia caps
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4726
Change-Id: Ib1ea5d4269396e6c57ee1f0d7209aa9a9f2798e8
Reviewed-on: https://skia-review.googlesource.com/4726
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'bench')
-rw-r--r-- | bench/GLBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/GLBench.cpp b/bench/GLBench.cpp index b6975508cf..df9ee9bb0d 100644 --- a/bench/GLBench.cpp +++ b/bench/GLBench.cpp @@ -71,7 +71,7 @@ GrGLuint GLBench::CompileShader(const GrGLContext* context, const char* sksl, Gr ? SkSL::Program::kVertex_Kind : SkSL::Program::kFragment_Kind, std::string(sksl), - GrGLSkSLCapsForContext(*context), + *context->caps()->glslCaps(), &glsl); if (!result) { SkDebugf("SkSL compilation failed:\n%s\n%s\n", sksl, |