소스 검색

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