int displayWidth = this.theMinecraft.displayWidth; int displayHeight = this.theMinecraft.displayHeight; this.scaledResolution = new ScaledResolution(this.theMinecraft.gameSettings, displayWidth, displayHeight); GL11.glScaled(1.0D / this.scaledResolution.getScaleFactor(), 1.0D / this.scaledResolution.getScaleFactor(), 1.0D); this.scWidth = mc.displayWidth; this.scHeight = mc.displayHeight;
Comments