am c5b11fcc: am ff83ed2d: am b02dadd4: Merge "Create FieldPacker.getPos() to get the actual amount of data used for FP."
* commit 'c5b11fcc1f4fc4fba988218d0a99a19690398a56': Create FieldPacker.getPos() to get the actual amount of data used for FP.
This commit is contained in:
@@ -245,6 +245,9 @@ public class ProgramVertexFixedFunction extends ProgramVertex {
|
||||
for(int i = 0; i < 16; i ++) {
|
||||
mIOBuffer.addF32(m.mMat[i]);
|
||||
}
|
||||
// Reset the buffer back to the end, since we want to flush all of
|
||||
// the contents back (and not just what we wrote now).
|
||||
mIOBuffer.reset(mIOBuffer.getData().length);
|
||||
mAlloc.setFromFieldPacker(0, mIOBuffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user