mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 06:24:12 +01:00
Merge branch 'dev' into shader-pipeline
This commit is contained in:
commit
5e59fa73b8
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user