Jelajahi Sumber

DDSLoader: fix syntax error

Kirill Vainer 9 tahun lalu
induk
melakukan
2893ac9156

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