summaryrefslogtreecommitdiff
path: root/thirdparty/wslay
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-06-15 13:10:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-06-15 13:10:24 +0200
commit0f21249a2d0f0d6bbd01ef7408a1a9cd0b683793 (patch)
tree936dc12b4805a47013bb8217a4c4837e0c16bee4 /thirdparty/wslay
parentb5dfe45efc53e3733660d068ab2ac1e170f6bd34 (diff)
DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT
MSDN says: > When you write .dds files, you should set the DDSD_CAPS and > DDSD_PIXELFORMAT flags, and for mipmapped textures you should also > set the DDSD_MIPMAPCOUNT flag. However, when you read a .dds file, > you should not rely on the DDSD_CAPS, DDSD_PIXELFORMAT, and > DDSD_MIPMAPCOUNT flags being set because some writers of such a file > might not set these flags. https://docs.microsoft.com/en-us/windows/win32/direct3ddds/dds-header ¯\_(ツ)_/¯ Fixes #39516.
Diffstat (limited to 'thirdparty/wslay')
0 files changed, 0 insertions, 0 deletions