Update to 1.17.1

This commit is contained in:
Jonas Herzig
2021-07-24 11:05:39 +02:00
parent 927db36baa
commit 2415a886e2
6 changed files with 16 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ public class Util {
}
}
private static FloatBuffer floatBuffer = GlAllocationUtils.allocateFloatBuffer(16);
private static FloatBuffer floatBuffer = GlAllocationUtils.allocateByteBuffer(16 * 4).asFloatBuffer();
public static Matrix4f getGlMatrix(int matrix) {
floatBuffer.clear();
//#if MC>=11400