This commit is contained in:
Chicken-Bomes committed 2014-06-27 15:09:32 +10:00
1 parent bdb0c8f174
commit 93b1e5dbf0
4 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ public class GuiDraw
public static Dimension displaySize() {
Minecraft mc = Minecraft.getMinecraft();
ScaledResolution res = new ScaledResolution(mc.gameSettings, mc.displayWidth, mc.displayHeight);
ScaledResolution res = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
return new Dimension(res.getScaledWidth(), res.getScaledHeight());
}