Fix broken render state in RenderWorldLastEvent

This commit is contained in:
Snownee 2021-01-30 18:51:44 +08:00
parent b958be0712
commit 08a20972aa

View File

@ -1,6 +1,7 @@
package com.simibubi.create.events; package com.simibubi.create.events;
import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import com.simibubi.create.AllFluids; import com.simibubi.create.AllFluids;
import com.simibubi.create.Create; import com.simibubi.create.Create;
import com.simibubi.create.CreateClient; import com.simibubi.create.CreateClient;
@ -124,6 +125,7 @@ public class ClientEvents {
CreateClient.outliner.renderOutlines(ms, buffer); CreateClient.outliner.renderOutlines(ms, buffer);
// CollisionDebugger.render(ms, buffer); // CollisionDebugger.render(ms, buffer);
buffer.draw(); buffer.draw();
RenderSystem.enableCull();
ms.pop(); ms.pop();
} }