Pārlūkot izejas kodu

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

Weakens the flag tests in DDSLoader: some textures lack the DDSCAPS_TEXTURE flag
empirephoenix 8 gadi atpakaļ
vecāks
revīzija
0111cddaa5

+ 1 - 1
jme3-core/src/plugins/java/com/jme3/texture/plugins/DDSLoader.java

@@ -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) {