aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-26 13:18:16 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-26 13:18:16 +0000
commita39f404c87e9957947e3341e46056e4f589c91ad (patch)
treeb15ec41a16d34bde3c267cc01746f3b8b118f284 /src/gpu
parentea4ac97dec2eb291139bd906939e0d2e05cdd7ef (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.
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/SkGpuDevice.cpp2
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();