diff --git a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/mesh/MutableQuadViewImpl.java b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/mesh/MutableQuadViewImpl.java index fc73c9ebab..fcde4314fa 100644 --- a/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/mesh/MutableQuadViewImpl.java +++ b/common/src/main/java/net/caffeinemc/mods/sodium/client/render/frapi/mesh/MutableQuadViewImpl.java @@ -110,7 +110,7 @@ public void clear() { System.arraycopy(DEFAULT, 0, data, baseIndex, EncodingFormat.TOTAL_STRIDE); isGeometryInvalid = true; nominalFace = null; - cullFace(null); + cachedSprite(null); } @Override @@ -274,7 +274,6 @@ public MutableQuadViewImpl copyFrom(QuadView quad) { private void fromVanillaInternal(int[] quadData, int startIndex) { System.arraycopy(quadData, startIndex, data, baseIndex + HEADER_STRIDE, QuadView.VANILLA_QUAD_STRIDE); - // TODO: Make sure this is right in 1.21.4 (IMS) int colorIndex = baseIndex + VERTEX_COLOR; for (int i = 0; i < 4; i++) {