diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-09-22 21:01:31 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-09-22 21:01:31 +0000 |
commit | 18c9c198f571997463d9a7134dbd88298e592ec2 (patch) | |
tree | aa66d25ecdc1d33dd9c4c7e943b1ca43acd0f13f /gpu/src/GrAAHairLinePathRenderer.cpp | |
parent | f1fd30da32f14e6c58b10903267afb937ee64888 (diff) |
Put caps in a struct, move up to GrDrawTarget
Review URL: http://codereview.appspot.com/5088049
git-svn-id: http://skia.googlecode.com/svn/trunk@2314 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrAAHairLinePathRenderer.cpp')
-rw-r--r-- | gpu/src/GrAAHairLinePathRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrAAHairLinePathRenderer.cpp b/gpu/src/GrAAHairLinePathRenderer.cpp index 8349fa77f1..4d05a6bb7d 100644 --- a/gpu/src/GrAAHairLinePathRenderer.cpp +++ b/gpu/src/GrAAHairLinePathRenderer.cpp @@ -87,7 +87,7 @@ GrPathRenderer* GrAAHairLinePathRenderer::Create(GrContext* context) { } bool GrAAHairLinePathRenderer::CanBeUsed(const GrContext* context) { - return context->getGpu()->supportsShaderDerivatives(); + return context->getGpu()->getCaps().fShaderDerivativeSupport; } |