summaryrefslogtreecommitdiff
path: root/cpp/Type.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2013-01-09 11:52:26 -0800
committerJason Sams <jsams@google.com>2013-01-09 11:52:26 -0800
commita572aca4eb4ddb32c10baa1f529431cfefd756b8 (patch)
tree5c178c44b184767ebf659b655872e1e2d44e37d0 /cpp/Type.cpp
parentef3ec7d85f9b53402e8ba50275c73420992c66b0 (diff)
downloadrs-a572aca4eb4ddb32c10baa1f529431cfefd756b8.tar.gz
Add support for YUV allocations.
Change-Id: I21a47c745a2f8435af4f37ec0ad624002f3db555
Diffstat (limited to 'cpp/Type.cpp')
-rw-r--r--cpp/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/Type.cpp b/cpp/Type.cpp
index 6b9ac401..b2dfa238 100644
--- a/cpp/Type.cpp
+++ b/cpp/Type.cpp
@@ -147,7 +147,7 @@ sp<const Type> Type::Builder::create() {
}
void * id = rsTypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ,
- mDimMipmaps, mDimFaces);
+ mDimMipmaps, mDimFaces, 0);
Type *t = new Type(id, mRS);
t->mElement = mElement;
t->mDimX = mDimX;