Add error checks to the copyFrom functions.

Change-Id: Iac064c52eb58b05a94fa1c432304c6216256555b
This commit is contained in:
Jason Sams
2011-01-16 15:04:08 -08:00
parent 300406abd4
commit b97b251c26
4 changed files with 85 additions and 11 deletions

View File

@@ -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);
}
/**