commit | 78d6cf9f434d3351b19de14f1eab424c23f0ab6d | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jan 30 18:09:31 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jan 30 18:09:31 2012 +0000 |
tree | bd8e9870518da531a8d2e3ad7f4fcca20ecb1413 | |
parent | fa4d5bd09f8f1a4a92b5ae0324800dd672760898 [diff] [blame] |
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
diff --git a/src/gpu/SkGrTexturePixelRef.cpp b/src/gpu/SkGrTexturePixelRef.cpp index 4b546d6..c81e9c0 100644 --- a/src/gpu/SkGrTexturePixelRef.cpp +++ b/src/gpu/SkGrTexturePixelRef.cpp
@@ -63,7 +63,7 @@ desc.fHeight = texture->height(); desc.fFlags = kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit; desc.fConfig = SkGr::BitmapConfig2PixelConfig(dstConfig, false); - desc.fAALevel = kNone_GrAALevel; + desc.fSampleCnt = 0; GrTexture* dst = context->createUncachedTexture(desc, NULL, 0); if (NULL == dst) {