Commit c8937f07681b7154285fcaf1d0536222ba42bc3b
1 parent
8154d063
Fix changing resolution breaking ability to resize the game window
Showing
1 changed file
with
2 additions
and
0 deletions
src/client/java/com/mumfrey/liteloader/util/ModUtilities.java
... | ... | @@ -43,10 +43,12 @@ public abstract class ModUtilities |
43 | 43 | { |
44 | 44 | try |
45 | 45 | { |
46 | + Display.setResizable(false); | |
46 | 47 | Minecraft mc = Minecraft.getMinecraft(); |
47 | 48 | Display.setDisplayMode(new DisplayMode(width, height)); |
48 | 49 | ((IMinecraft)mc).onResizeWindow(width, height); |
49 | 50 | Display.setVSyncEnabled(mc.gameSettings.enableVsync); |
51 | + Display.setResizable(true); | |
50 | 52 | } |
51 | 53 | catch (LWJGLException ex) |
52 | 54 | { | ... | ... |