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

Weakens the flag tests in DDSLoader: some textures lack the DDSCAPS_TEXTURE flag
fix-456
empirephoenix 8 years ago committed by GitHub
commit 0111cddaa5
  1. 2
      jme3-core/src/plugins/java/com/jme3/texture/plugins/DDSLoader.java

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

Loading…
Cancel
Save