Commit 64ec959665a9956a40a9c6a7673da49e395bc790

Authored by Mumfrey
1 parent d74ea594

reset vSync preference after display resize

java/client/com/mumfrey/liteloader/client/overlays/MinecraftOverlay.java
@@ -75,6 +75,7 @@ public abstract class MinecraftOverlay implements IMinecraft @@ -75,6 +75,7 @@ public abstract class MinecraftOverlay implements IMinecraft
75 { 75 {
76 Display.setDisplayMode(new DisplayMode(width, height)); 76 Display.setDisplayMode(new DisplayMode(width, height));
77 this.resize(width, height); 77 this.resize(width, height);
  78 + Display.setVSyncEnabled(Minecraft.getMinecraft().gameSettings.enableVsync);
78 } 79 }
79 catch (LWJGLException ex) 80 catch (LWJGLException ex)
80 { 81 {