diff options
Diffstat (limited to 'src/gpu/gl/GrGpuGL.cpp')
-rw-r--r-- | src/gpu/gl/GrGpuGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index d5c0bd2ed6..da168cda13 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -375,7 +375,6 @@ bool GrGpuGL::canPreserveReadWriteUnpremulPixels() { dstDesc.fWidth = 256; dstDesc.fHeight = 256; dstDesc.fConfig = kRGBA_8888_PM_GrPixelConfig; - dstDesc.fSampleCnt = 0; SkAutoTUnref<GrTexture> dstTex(this->createTexture(dstDesc, NULL, 0)); if (!dstTex.get()) { @@ -1015,6 +1014,7 @@ GrTexture* GrGpuGL::onCreateTexture(const GrTextureDesc& desc, glTexDesc.fHeight = desc.fHeight; glTexDesc.fConfig = desc.fConfig; glTexDesc.fSampleCnt = desc.fSampleCnt; + glTexDesc.fClientCacheID = desc.fClientCacheID; glTexDesc.fOwnsID = true; |