Add error checks to the copyFrom functions.
Change-Id: Iac064c52eb58b05a94fa1c432304c6216256555b
This commit is contained in:
@@ -229,7 +229,7 @@ public class ProgramVertexFixedFunction extends ProgramVertex {
|
||||
for(int i = 0; i < 16; i ++) {
|
||||
mIOBuffer.addF32(m.mMat[i]);
|
||||
}
|
||||
mAlloc.copyFrom(mIOBuffer.getData());
|
||||
mAlloc.setFromFieldPacker(0, mIOBuffer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user