Skip to content

Commit c382956

Browse files
committed
save previous texture in tessellator only if tex cache in non-null
1 parent dd60471 commit c382956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/opengl/PGraphicsOpenGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12483,8 +12483,8 @@ void setLastTexIndex(int lastIndex, int lastCache) {
1248312483
} else {
1248412484
texCache.setLastIndex(lastIndex, lastCache);
1248512485
}
12486+
prevTexImage = newTexImage;
1248612487
}
12487-
prevTexImage = newTexImage;
1248812488
}
1248912489

1249012490
// -----------------------------------------------------------------

0 commit comments

Comments
 (0)