mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-26 11:23:43 +02:00
DSV creation was missing a TEXTURE2DARRAY branch for array, cube, and cube-array depth textures. It fell through to TEXTURE2D, so FirstArraySlice was never set and all layers' DSVs targeted layer 0. This caused incorrect rendering when using depth textures with multiple layers, such as cubemap shadow maps.