godot/modules/dds
Rémi Verschelde 0f21249a2d 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.
2020-06-15 13:10:24 +02:00
..
config.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
register_types.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
register_types.h
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
texture_loader_dds.cpp DDS: Fix loading files without DDSD_CAPS or DDSD_PIXELFORMAT 2020-06-15 13:10:24 +02:00
texture_loader_dds.h Exposed RenderingDevice to script API 2020-04-20 21:21:58 -03:00