mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-27 02:49:18 +01:00
Fix bug in slicer.
This commit is contained in:
parent
4c8ff40821
commit
febced0708
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ public sealed unsafe class TextureArraySlicer : IUiService, IDisposable
|
|||
break;
|
||||
case D3D_SRV_DIMENSION.D3D11_SRV_DIMENSION_TEXTURE1DARRAY:
|
||||
description.Texture1DArray.FirstArraySlice = sliceIndex;
|
||||
description.Texture2DArray.ArraySize = 1;
|
||||
description.Texture1DArray.ArraySize = 1;
|
||||
break;
|
||||
case D3D_SRV_DIMENSION.D3D11_SRV_DIMENSION_TEXTURE2DARRAY:
|
||||
description.Texture2DArray.FirstArraySlice = sliceIndex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue