diff options
Diffstat (limited to 'src/gpu/effects/GrTextureDomainEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrTextureDomainEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrTextureDomainEffect.cpp b/src/gpu/effects/GrTextureDomainEffect.cpp index bfd62c2528..833c19803b 100644 --- a/src/gpu/effects/GrTextureDomainEffect.cpp +++ b/src/gpu/effects/GrTextureDomainEffect.cpp @@ -90,7 +90,7 @@ void GrGLTextureDomainEffect::setData(const GrGLUniformManager& uman, const GrEf SkScalarToFloat(domain.bottom()) }; // vertical flip if necessary - if (GrSurface::kBottomLeft_Origin == effect.texture(0)->origin()) { + if (kBottomLeft_GrSurfaceOrigin == effect.texture(0)->origin()) { values[1] = 1.0f - values[1]; values[3] = 1.0f - values[3]; // The top and bottom were just flipped, so correct the ordering |