| Index: gm/texdata.cpp
|
| diff --git a/gm/texdata.cpp b/gm/texdata.cpp
|
| index 977947b0c67e979fd70f9265876c6feaaef669ff..494a932cf198d53c2d32e51cc9a1c5c5649bf27e 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;
|
|
|