Merge pull request #639 from shamanDevel/DDSLoader-less-constraints

Weakens the flag tests in DDSLoader: some textures lack the DDSCAPS_TEXTURE flag
This commit is contained in:
empirephoenix 2017-04-12 10:39:57 +02:00 committed by GitHub
commit 0111cddaa5

View File

@ -204,7 +204,7 @@ public class DDSLoader implements AssetLoader {
if (!directx10) { if (!directx10) {
if (!is(caps1, DDSCAPS_TEXTURE)) { if (!is(caps1, DDSCAPS_TEXTURE)) {
throw new IOException("File is not a texture"); logger.warning("Texture is missing the DDSCAPS_TEXTURE-flag");
} }
if (depth <= 0) { if (depth <= 0) {