Unhiding J API's for Renderscript.
Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
This commit is contained in:
@@ -204,7 +204,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex {
|
||||
public Constants(RenderScript rs) {
|
||||
Type constInputType = ProgramVertexFixedFunction.Builder.getConstantInputType(rs);
|
||||
mAlloc = Allocation.createTyped(rs, constInputType);
|
||||
int bufferSize = constInputType.getElement().getSizeBytes()*
|
||||
int bufferSize = constInputType.getElement().getBytesSize()*
|
||||
constInputType.getCount();
|
||||
mIOBuffer = new FieldPacker(bufferSize);
|
||||
mModel = new Matrix4f();
|
||||
|
||||
Reference in New Issue
Block a user