commit | 762286309545c8a1e4bbc05dcd1fe3085d2a1f47 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Fri May 29 08:02:10 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri May 29 08:02:10 2015 -0700 |
tree | 0b939756bc2106ec4bf46d90362c6292a2ae4435 | |
parent | ff2f423d90147dba710186ec4b63de75da7be8ed [diff] [blame] |
Add direct getter for GrCaps to GrContext. TBR=joshualitt@google.com Committed: https://skia.googlesource.com/skia/+/9138c46e572085870638b6f7ad7fcdfcdf3cac99 Review URL: https://codereview.chromium.org/1149773005
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp index 3146712..41a8b5a 100644 --- a/tests/GrPorterDuffTest.cpp +++ b/tests/GrPorterDuffTest.cpp
@@ -949,7 +949,7 @@ return; } - const GrCaps& caps = *ctx->getGpu()->caps(); + const GrCaps& caps = *ctx->caps(); if (caps.shaderCaps()->dualSourceBlendingSupport()) { SkFAIL("Null context failed to honor request for no ARB_blend_func_extended."); return;