Преглед на файлове

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);
             }