Skip to content

Commit 10d47ec

Browse files
Remove scaled resolution caching fixme
I don't think this is needed, only affects 1.12.2 and 1.8.9. I didn't notice any allocation or CPU usage spikes with our UIs open.
1 parent 28c672d commit 10d47ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/gg/essential/ad/UResolution.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public static int getWindowHeight() {
2424
//#endif
2525
}
2626

27-
// TODO: cache SR
28-
2927
public static int getScaledWidth() {
3028
//#if MC>11600
3129
//$$ return Minecraft.getInstance().getMainWindow().getScaledWidth();

0 commit comments

Comments
 (0)