From aa8b4df3aff9052de2a1dbac33ee8c06912f687a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Leli=C3=A8vre?= Date: Wed, 16 Sep 2020 12:59:57 +0200 Subject: [PATCH] Fixed typo in TextureCache2D.cs --- .../Runtime/Core/Textures/TextureCache2D.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Runtime/Core/Textures/TextureCache2D.cs b/com.unity.render-pipelines.high-definition/Runtime/Core/Textures/TextureCache2D.cs index 2f4d19fa707..441336adaf7 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Core/Textures/TextureCache2D.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/Core/Textures/TextureCache2D.cs @@ -77,7 +77,7 @@ public bool AllocTextureArray(int numTextures, int width, int height, GraphicsFo var res = AllocTextureArray(numTextures); m_NumMipLevels = GetNumMips(width, height); - var desc = new RenderTextureDescriptor(width, width, format, 0) + var desc = new RenderTextureDescriptor(width, height, format, 0) { // autoGenerateMips is true by default dimension = TextureDimension.Tex2DArray,