aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-17 18:02:35 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-05-17 18:02:35 +0000
commitbb7f076c0c72ea7c70e75674d3aa07b3acb645d4 (patch)
treef7116796e06211017386c3966e2181203e080626 /src
parent2047f00e4698f83499ab91911999a65c21a951c9 (diff)
Fix enums in code path that uses uncached GrRenderTargets behind SkGpuDevices
Review URL: http://codereview.appspot.com/4535081/ git-svn-id: http://skia.googlecode.com/svn/trunk@1352 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/SkGpuDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 360fa3429c..508e49356b 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -130,9 +130,9 @@ SkGpuDevice::SkGpuDevice(GrContext* context,
SkASSERT(NULL != fTexture->asRenderTarget());
}
#else
- const GrGpu::TextureDesc desc = {
- GrGpu::kRenderTarget_TextureFlag,
- GrGpu::kNone_AALevel,
+ const GrTextureDesc desc = {
+ kRenderTarget_GrTextureFlagBit,
+ kNone_GrAALevel,
this->width(),
this->height(),
SkGr::Bitmap2PixelConfig(bm)