diff options
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index b62e5be39a..d04a5a1e2e 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1831,6 +1831,7 @@ SkGpuDevice::TexCache SkGpuDevice::lockCachedTexture( desc.fWidth = bitmap.width(); desc.fHeight = bitmap.height(); desc.fConfig = SkGr::BitmapConfig2PixelConfig(bitmap.config()); + desc.fClientCacheID = key; entry = ctx->findAndLockTexture(desc, sampler); if (NULL == entry.texture()) { |