diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-30 18:09:31 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-30 18:09:31 +0000 |
commit | 78d6cf9f434d3351b19de14f1eab424c23f0ab6d (patch) | |
tree | bd8e9870518da531a8d2e3ad7f4fcca20ecb1413 /gm/texdata.cpp | |
parent | fa4d5bd09f8f1a4a92b5ae0324800dd672760898 (diff) |
Remove GrAALevel enum, use explicit sample count
Review URL: http://codereview.appspot.com/5600045/
git-svn-id: http://skia.googlecode.com/svn/trunk@3106 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/texdata.cpp')
-rw-r--r-- | gm/texdata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index c68a16a000..1fdae69bd3 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -75,13 +75,13 @@ protected: } GrTextureDesc desc; - desc.fAALevel = kNone_GrAALevel; // use RT flag bit because in GL it makes the texture be bottom-up desc.fFlags = i ? kRenderTarget_GrTextureFlagBit : kNone_GrTextureFlags; desc.fConfig = kSkia8888_PM_GrPixelConfig; desc.fWidth = 2 * S; desc.fHeight = 2 * S; + desc.fSampleCnt = 0; GrTexture* texture = ctx->createUncachedTexture(desc, gTextureData, 0); |