瀏覽代碼

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