From e44ef10ebbc7f64b627a9ac3a562bd87b3001b0c Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 21 Jul 2017 15:37:19 -0400 Subject: Second small fragment from "Reduce dependence on GrSurface's origin field" TBR=bsalomon@google.com Change-Id: Ifcfe56b1117b64821b2bfc34ba36d120227d15fa Reviewed-on: https://skia-review.googlesource.com/25802 Reviewed-by: Robert Phillips Commit-Queue: Robert Phillips --- gm/texturedomaineffect.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gm/texturedomaineffect.cpp') diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index 3fa835bd65..68260dee0f 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp @@ -86,6 +86,7 @@ protected: } GrSurfaceDesc desc; + desc.fOrigin = kTopLeft_GrSurfaceOrigin; desc.fWidth = fBmp.width(); desc.fHeight = fBmp.height(); desc.fConfig = SkImageInfo2GrPixelConfig(fBmp.info(), *context->caps()); -- cgit v1.2.3