From 99b50a043d7475008ae0bc9e193a12711eafce59 Mon Sep 17 00:00:00 2001 From: Cryptic <117136390+its-cryptic@users.noreply.github.com> Date: Sat, 1 Jun 2024 00:10:04 -0700 Subject: [PATCH] Properly resizes depth buffer now --- .../java/team/lodestar/lodestone/handlers/RenderHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/team/lodestar/lodestone/handlers/RenderHandler.java b/src/main/java/team/lodestar/lodestone/handlers/RenderHandler.java index 1e2fc0d4..c3b4741b 100644 --- a/src/main/java/team/lodestar/lodestone/handlers/RenderHandler.java +++ b/src/main/java/team/lodestar/lodestone/handlers/RenderHandler.java @@ -102,6 +102,7 @@ public static void resize(int width, int height) { LODESTONE_POST_CHAIN.resize(width, height); LODESTONE_DEPTH_CACHE.resize(width, height, Minecraft.ON_OSX); } + if (TEMP_RENDER_TARGET != null) TEMP_RENDER_TARGET.resize(width, height, Minecraft.ON_OSX); } public static void endBatchesEarly() {