From a5a9ea1b7fcfd3f532b7dc07c2685d303ba49dfc Mon Sep 17 00:00:00 2001 From: zelophed Date: Sat, 27 Mar 2021 16:33:23 +0100 Subject: [PATCH] ponder particles, pog --- .../create/foundation/ponder/PonderWorldParticles.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/simibubi/create/foundation/ponder/PonderWorldParticles.java b/src/main/java/com/simibubi/create/foundation/ponder/PonderWorldParticles.java index 6da7439c7..5e1ca9774 100644 --- a/src/main/java/com/simibubi/create/foundation/ponder/PonderWorldParticles.java +++ b/src/main/java/com/simibubi/create/foundation/ponder/PonderWorldParticles.java @@ -70,8 +70,9 @@ public class PonderWorldParticles { RenderSystem.enableDepthTest(); RenderSystem.enableFog(); }; - ms.push(); - ms.peek().getModel().multiply(ms.peek().getModel()); + RenderSystem.pushMatrix(); + RenderSystem.multMatrix(ms.peek().getModel()); + //check ParticleManager#renderParticles for a replacement if RenderSystem#multMatrix gets removed for (IParticleRenderType iparticlerendertype : this.byType.keySet()) { // Forge: allow custom // IParticleRenderType's @@ -92,7 +93,7 @@ public class PonderWorldParticles { } } - ms.pop(); + RenderSystem.popMatrix(); RenderSystem.depthMask(true); RenderSystem.disableBlend(); RenderSystem.defaultAlphaFunc();