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