diff options
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 |
commit | f5b3510c706ed1f7611760dff0c94f2111531c68 (patch) | |
tree | 05d2f7976a7ec1000a5ad0ee035151704da8a49c /libs/rs/rsAdapter.cpp | |
parent | e224fabb2c59e9f1274c3569c04b91787824add0 (diff) | |
download | frameworks_base-f5b3510c706ed1f7611760dff0c94f2111531c68.zip frameworks_base-f5b3510c706ed1f7611760dff0c94f2111531c68.tar.gz frameworks_base-f5b3510c706ed1f7611760dff0c94f2111531c68.tar.bz2 |
Adding anisotropic filtering and related samples.
Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
Diffstat (limited to 'libs/rs/rsAdapter.cpp')
-rw-r--r-- | libs/rs/rsAdapter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/rs/rsAdapter.cpp b/libs/rs/rsAdapter.cpp index b4ec250..ef69b75 100644 --- a/libs/rs/rsAdapter.cpp +++ b/libs/rs/rsAdapter.cpp @@ -183,7 +183,6 @@ void Adapter2D::subData(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, co uint32_t eSize = mAllocation.get()->getType()->getElementSizeBytes(); uint32_t lineSize = eSize * w; - uint32_t destW = getDimX(); const uint8_t *src = static_cast<const uint8_t *>(data); for (uint32_t line=yoff; line < (yoff+h); line++) { |