Skip to content

Commit

Permalink
Only clear the translucency sorting render queue when we're not rende…
Browse files Browse the repository at this point in the history
…ring shadows. (#798)
  • Loading branch information
nshepperd authored Dec 16, 2024
1 parent 9fe7e80 commit e2ee822
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ public ChunkRenderContainer<T> getRender(int x, int y, int z) {
private void reset() {
if(!AngelicaConfig.enableIris || !ShadowRenderingState.areShadowsCurrentlyBeingRendered()) this.rebuildQueue.clear();
if(!AngelicaConfig.enableIris || !ShadowRenderingState.areShadowsCurrentlyBeingRendered()) this.importantRebuildQueue.clear();


this.sortQueue.clear();
if(!AngelicaConfig.enableIris || !ShadowRenderingState.areShadowsCurrentlyBeingRendered()) this.sortQueue.clear();

this.visibleTileEntities.clear();

Expand Down

0 comments on commit e2ee822

Please sign in to comment.