From 1083b85f8e21978586944e9aedd8869d7aba5eb0 Mon Sep 17 00:00:00 2001 From: asbyth Date: Mon, 24 Feb 2020 01:29:47 -0500 Subject: [PATCH] fix not creating buffer --- src/main/java/club/sk1er/motionblur/MotionBlur.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/club/sk1er/motionblur/MotionBlur.java b/src/main/java/club/sk1er/motionblur/MotionBlur.java index 0f4bb05..6b3e52b 100644 --- a/src/main/java/club/sk1er/motionblur/MotionBlur.java +++ b/src/main/java/club/sk1er/motionblur/MotionBlur.java @@ -78,6 +78,7 @@ public void tick(TickEvent.ClientTickEvent event) { public void onKey(InputEvent.KeyInputEvent event) { if (mc.thePlayer != null && BlurConfig.motionBlur && Keyboard.isKeyDown(mc.gameSettings.keyBindTogglePerspective.getKeyCode())) { mc.entityRenderer.loadShader(new ResourceLocation("motionblur", "motionblur")); + mc.entityRenderer.getShaderGroup().createBindFramebuffers(mc.displayWidth, mc.displayHeight); } }