Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
D3D11: Texture - fix DDS mipmap truncation issue (#3290)
Compressed texture can't have mipmaps beyond size 4x4, so remove the last two (2x2, 1x1). However the caller can have images which does not have the full mipmaps chain or already removed the last two mipmaps. The code unconditionally removed the last mipmaps which can be useful. Co-authored-by: stupak <[email protected]>
- Loading branch information