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
This commit is contained in:
parent
2047f00e46
commit
bb7f076c0c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user