summaryrefslogtreecommitdiff
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
author Alex Sakhartchouk <alexst@google.com> 2010-09-30 11:36:37 -0700
committer Alex Sakhartchouk <alexst@google.com> 2010-09-30 11:36:37 -0700
commitf5b3510c706ed1f7611760dff0c94f2111531c68 (patch)
tree05d2f7976a7ec1000a5ad0ee035151704da8a49c /libs/rs/rsAllocation.cpp
parente224fabb2c59e9f1274c3569c04b91787824add0 (diff)
Adding anisotropic filtering and related samples.
Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
-rw-r--r--libs/rs/rsAllocation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp
index 87c4f2be7c1c..0356e4d377f6 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -293,7 +293,6 @@ void Allocation::subData(Context *rsc, uint32_t xoff, uint32_t yoff,
}
for (uint32_t line=yoff; line < (yoff+h); line++) {
- uint8_t * ptr = static_cast<uint8_t *>(mPtr);
if (mType->getElement()->getHasReferences()) {
incRefs(src, w);
decRefs(dst, w);