Skip to content

Commit

Permalink
fix not creating buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
asbyth committed Feb 24, 2020
1 parent 87c420e commit 1083b85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/club/sk1er/motionblur/MotionBlur.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 1083b85

Please sign in to comment.