diff options
author | Jason Sams <rjsams@android.com> | 2010-12-13 15:32:35 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-12-13 15:32:35 -0800 |
commit | d4b23b54445b13dacaafad97d100999abb36ea6f (patch) | |
tree | 265a246ae22c5b726690c422bc5c5518e6d445a0 /graphics/java/android/renderscript/RenderScript.java | |
parent | 666a5ed98142867bcd6658c97210b775c828dae5 (diff) |
More API updates.
Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
-rw-r--r-- | graphics/java/android/renderscript/RenderScript.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/java/android/renderscript/RenderScript.java b/graphics/java/android/renderscript/RenderScript.java index 3fa99657d003..c6dcff5f069b 100644 --- a/graphics/java/android/renderscript/RenderScript.java +++ b/graphics/java/android/renderscript/RenderScript.java @@ -191,9 +191,9 @@ public class RenderScript { rsnTypeGetNativeData(mContext, id, typeData); } - native int rsnAllocationCreateTyped(int con, int type, int usage); - synchronized int nAllocationCreateTyped(int type, int usage) { - return rsnAllocationCreateTyped(mContext, type, usage); + native int rsnAllocationCreateTyped(int con, int type, int mip, int usage); + synchronized int nAllocationCreateTyped(int type, int mip, int usage) { + return rsnAllocationCreateTyped(mContext, type, mip, usage); } native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { |