From f3ee6a77ee8526c99281ba9061dd233ce92fc498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Schm=C3=B6cker?= Date: Tue, 31 Oct 2023 18:59:52 +0100 Subject: [PATCH] fix: removed invalid depthBuffer --- JotunnLib/Managers/RenderManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JotunnLib/Managers/RenderManager.cs b/JotunnLib/Managers/RenderManager.cs index e2db09eb4..3c3cbcec2 100644 --- a/JotunnLib/Managers/RenderManager.cs +++ b/JotunnLib/Managers/RenderManager.cs @@ -445,7 +445,7 @@ public CreateTemporaryRenderTexture(Camera camera, int textureWidth, int texture { this.camera = camera; previousRenderTexture = RenderTexture.active; - temporaryRenderTexture = RenderTexture.GetTemporary(textureWidth, textureHeight, 32); + temporaryRenderTexture = RenderTexture.GetTemporary(textureWidth, textureHeight); camera.targetTexture = temporaryRenderTexture; RenderTexture.active = temporaryRenderTexture;