Window Resize Fix (Iris & Distant Horizons)

Fixes Distant Horizons breaking after a window resize with Iris, and the world's depth buffer not following a replaced render target.
Back to Files

Window Resize Fix 1.4.0 Fabric (MC 1.21.5-1.21.11)

File nameirisscalefix-fabric-1.21.5-1.21.11-1.4.0.jar
Uploader
mzgmzg
Uploaded
Nov 1, 2026
Downloads
42
Size
12.8 KB
Mod Loaders
Fabric
File ID
9395407
Type
R
Release
Supported game versions
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5

Curse Maven Snippet

Fabric

modImplementation "curse.maven:window-resize-fix-iris-distant-horizons-1648773:9395407"

Learn more about Curse Maven

What's new

1.4.0 — Fabric, Minecraft 1.21.5 – 1.21.11

Window Resize Fix is now on Fabric. One file for 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10 and 1.21.11.

The same fixes as the NeoForge build, for Iris on Fabric:

  • Distant Horizons LODs no longer end up drawn on top of everything after you resize the window, switch fullscreen, alt-tab, or use a render-scaling mod.
  • Iris follows the depth buffer when the world is rendered at a different resolution from the window.

Each fix has its own switch in config/irisscalefix.properties, re-read while the game runs, and the log says which fixes are active and how often each one stepped in.

Requires: Fabric Loader, Iris 1.8.11 – 1.10.x. Distant Horizons optional. Client-side only.

Thanks to kaosuran, whose own Fabric port showed that this was wanted on Fabric.