Merge branch 'dev' into shader-pipeline

This commit is contained in:
JozsefA 2021-06-26 13:07:27 -07:00
commit 5e59fa73b8

View File

@ -50,9 +50,6 @@ public class RenderHooksMixin {
@Inject(at = @At("TAIL"), method = "renderLayer") @Inject(at = @At("TAIL"), method = "renderLayer")
private void renderLayer(RenderType type, MatrixStack stack, double camX, double camY, double camZ, private void renderLayer(RenderType type, MatrixStack stack, double camX, double camY, double camZ,
CallbackInfo ci) { CallbackInfo ci) {
if (!Backend.getInstance().available())
return;
Matrix4f view = stack.peek() Matrix4f view = stack.peek()
.getModel(); .getModel();
Matrix4f viewProjection = view.copy(); Matrix4f viewProjection = view.copy();