diff options
author | robertphillips <robertphillips@google.com> | 2016-05-11 05:15:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-11 05:15:56 -0700 |
commit | 677da9d4af2558ddd50a900e90a093d1b522bd5f (patch) | |
tree | 4a6252fd10a9fa9e66562f602e18455e4179af22 /gm | |
parent | 2139303e4c0a9cbcfac695977a80eb026a9296ab (diff) |
Minor GrRenderTarget retraction
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1967743003
Review-Url: https://codereview.chromium.org/1967743003
Diffstat (limited to 'gm')
-rw-r--r-- | gm/texdata.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 977947b0c6..494a932cf1 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -69,9 +69,7 @@ DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) { } GrSurfaceDesc desc; - // use RT flag bit because in GL it makes the texture be bottom-up - desc.fFlags = i ? kRenderTarget_GrSurfaceFlag : - kNone_GrSurfaceFlags; + desc.fOrigin = i ? kBottomLeft_GrSurfaceOrigin : kTopLeft_GrSurfaceOrigin; desc.fConfig = kSkia8888_GrPixelConfig; desc.fWidth = 2 * S; desc.fHeight = 2 * S; |