From a39f404c87e9957947e3341e46056e4f589c91ad Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Tue, 26 Apr 2011 13:18:16 +0000 Subject: 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 --- src/gpu/SkGpuDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/SkGpuDevice.cpp') 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(); -- cgit v1.2.3