aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-10-22 09:40:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-22 09:40:36 -0700
commit2a459ffe2d8537fa5a48710e33c4d736fae014b1 (patch)
tree78e1cfb077fe64d728ffbedd8ec821c7410b35f6 /src/gpu/gl/GrGLCaps.cpp
parent472d44e8f881f87449d11ba66515d3c1c5e69891 (diff)
Fix force high precision for arm gpus
This fixes a bug introduced by recent changes to GLSL caps. TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1422553004
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index ad8f1e3c84..835c86b5fb 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -536,7 +536,7 @@ void GrGLCaps::initGLSL(const GrContextOptions& contextOptions,
// from our GrTextureDomain processor.
glslCaps->fCanUseAnyFunctionInShader = kImagination_GrGLVendor != ctxInfo.vendor();
- glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor != ctxInfo.vendor();
+ glslCaps->fForceHighPrecisionNDSTransform = kARM_GrGLVendor == ctxInfo.vendor();
glslCaps->fVersionDeclString = get_glsl_version_decl_string(standard, glslCaps->fGLSLGeneration,
fIsCoreProfile);