mirror of
https://github.com/godotengine/godot.git
synced 2024-11-11 06:33:10 +00:00
d8b543c991
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.
(cherry picked from commit
|
||
---|---|---|
.. | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
texture_loader_dds.cpp | ||
texture_loader_dds.h |