mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Merge pull request #489 from andr3wmac/3d_texture_mip_fix
Bind all depth slices of 3D textures.
This commit is contained in:
commit
ab2c29be43
1 changed files with 1 additions and 1 deletions
|
@ -2427,7 +2427,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
|||
desc.ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
|
||||
desc.Texture3D.MipSlice = _mip;
|
||||
desc.Texture3D.FirstWSlice = 0;
|
||||
desc.Texture3D.WSize = 1;
|
||||
desc.Texture3D.WSize = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue