http://codereview.appspot.com/6299060/



git-svn-id: http://skia.googlecode.com/svn/trunk@4212 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-06-08 14:21:26 +00:00
parent 5a94efcc3e
commit 56f2244dca

View File

@ -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()) {