Skip to content

Commit

Permalink
Clean up MutableQuadViewImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Dec 3, 2024
1 parent 15789f8 commit d03d516
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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++) {
Expand Down

0 comments on commit d03d516

Please sign in to comment.