Support npot on es 2.0 HW.

This commit is contained in:
Jason Sams
2010-01-06 15:10:29 -08:00
parent 5e3f6caeb0
commit 74e02ef200
3 changed files with 4 additions and 5 deletions

View File

@@ -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();