mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 23:13:15 +00:00
Fix mod info panel rendering incorrectly on some systems with HiDPI displays (pesky macs) (#6170)
This commit is contained in:
1 parent
94cbf72e39
commit
a328364999
2 files changed
+2
-2
No files matched your search
@@ -191,7 +191,7 @@ public abstract class ScrollPanel extends FocusableGui implements IRenderable
|
||||
|
||||
double scale = client.mainWindow.getGuiScaleFactor();
|
||||
GL11.glEnable(GL11.GL_SCISSOR_TEST);
|
||||
GL11.glScissor((int)(left * scale), (int)(client.mainWindow.getHeight() - (bottom * scale)),
|
||||
GL11.glScissor((int)(left * scale), (int)(client.mainWindow.getFramebufferHeight() - (bottom * scale)),
|
||||
(int)(width * scale), (int)(height * scale));
|
||||
|
||||
if (this.client.world != null)
|
||||
|
||||
Reference in new issue
Block a user