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:
commit
0111cddaa5
@ -204,7 +204,7 @@ public class DDSLoader implements AssetLoader {
|
||||
|
||||
if (!directx10) {
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user