Skip to content

Commit

Permalink
fix: removed invalid depthBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
MSchmoecker committed Oct 31, 2023
1 parent fe776be commit f3ee6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JotunnLib/Managers/RenderManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f3ee6a7

Please sign in to comment.