microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.49k stars 396 forks source link

Additional checks for video formats for DDSTextureLoader #148

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

Added height alignment validation for planar video formats. This reports these issues earlier as NOT_SUPPORTED instead of the E_INVALIDARG error that is eventually returned from the Direct3D API.