diff options
author | Jason Sams <rjsams@android.com> | 2010-01-06 15:10:29 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-01-06 15:10:29 -0800 |
commit | 74e02ef2000ff2783e526d6916e2f0b5d517593e (patch) | |
tree | cd25a361e97f0991b8222096623b23c2e58b2775 /graphics | |
parent | 5e3f6caeb08c54fb79f427a528e084711652bbdb (diff) | |
download | frameworks_base-74e02ef2000ff2783e526d6916e2f0b5d517593e.zip frameworks_base-74e02ef2000ff2783e526d6916e2f0b5d517593e.tar.gz frameworks_base-74e02ef2000ff2783e526d6916e2f0b5d517593e.tar.bz2 |
Support npot on es 2.0 HW.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/renderscript/Allocation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/Allocation.java b/graphics/java/android/renderscript/Allocation.java index 880e459..115dd62 100644 --- a/graphics/java/android/renderscript/Allocation.java +++ b/graphics/java/android/renderscript/Allocation.java @@ -266,7 +266,7 @@ public class Allocation extends BaseObj { return new Allocation(id, rs, null); } - static public Allocation createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) + static Allocation createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) throws IllegalArgumentException { rs.validate(); |