summaryrefslogtreecommitdiffstats
path: root/libs/rs
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-03-12 14:42:05 -0700
committerStephen Hines <srhines@google.com>2012-03-12 14:42:05 -0700
commitd091526841d7eabd6fc73124b572c94bb47f177c (patch)
treeb2ab6fc233d109db40fc9cf37f4b29c6a749c63b /libs/rs
parent772a73963d22163deff3fd3c7f65013ccb941f34 (diff)
downloadframeworks_base-d091526841d7eabd6fc73124b572c94bb47f177c.zip
frameworks_base-d091526841d7eabd6fc73124b572c94bb47f177c.tar.gz
frameworks_base-d091526841d7eabd6fc73124b572c94bb47f177c.tar.bz2
Fix argument passing with dimLOD.
BUG=6152130 Change-Id: I5c857b692af8ec45e4cbef8140c44d72aec6600e
Diffstat (limited to 'libs/rs')
-rw-r--r--libs/rs/rsType.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsType.cpp b/libs/rs/rsType.cpp
index 9ac553e..b668a78 100644
--- a/libs/rs/rsType.cpp
+++ b/libs/rs/rsType.cpp
@@ -257,14 +257,14 @@ ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e,
ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const {
return getTypeRef(rsc, mElement.get(), dimX,
- mHal.state.dimY, mHal.state.dimZ, mHal.state.lodCount, mHal.state.faces);
+ getDimY(), getDimZ(), getDimLOD(), getDimFaces());
}
ObjectBaseRef<Type> Type::cloneAndResize2D(Context *rsc,
uint32_t dimX,
uint32_t dimY) const {
return getTypeRef(rsc, mElement.get(), dimX, dimY,
- mHal.state.dimZ, mHal.state.lodCount, mHal.state.faces);
+ getDimZ(), getDimLOD(), getDimFaces());
}