diff options
author | 2011-04-26 13:18:16 +0000 | |
---|---|---|
committer | 2011-04-26 13:18:16 +0000 | |
commit | a39f404c87e9957947e3341e46056e4f589c91ad (patch) | |
tree | b15ec41a16d34bde3c267cc01746f3b8b118f284 /src/gpu | |
parent | ea4ac97dec2eb291139bd906939e0d2e05cdd7ef (diff) |
Remove sampler state param from lockKeylessTexture. It didn't serve any function and gave the false impression that tiling modes were handled on APIs with npot limitations.
http://codereview.appspot.com/4444061/
git-svn-id: http://skia.googlecode.com/svn/trunk@1181 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 1c70513245..3d3bbb3104 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1261,7 +1261,7 @@ SkGpuDevice::TexCache* SkGpuDevice::lockCachedTexture(const SkBitmap& bitmap, bitmap.height(), SkGr::Bitmap2PixelConfig(bitmap) }; - entry = ctx->lockKeylessTexture(desc, sampler); + entry = ctx->lockKeylessTexture(desc); } else { uint32_t p0, p1; p0 = bitmap.getGenerationID(); |