Преглед изворни кода

DDSLoader: fix syntax error

Kirill Vainer пре 9 година
родитељ
комит
2893ac9156
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      jme3-core/src/plugins/java/com/jme3/texture/plugins/DDSLoader.java

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

@@ -164,7 +164,7 @@ public class DDSLoader implements AssetLoader {
             compressed = true;
             bpp = 4;
         } else {
-            pixelFormat = DXGIFormat.getJmeFormat(dxgiFormat);
+            pixelFormat = null; // DXGIFormat.getJmeFormat(dxgiFormat);
             if (pixelFormat == null) {
                 throw new IOException("Unsupported DX10 format: " + dxgiFormat);
             }