Browse Source

dxgsg9: Replace old A2W10V10U10 format with A32B32G32R32F

rdb 1 năm trước cách đây
mục cha
commit
a59c857359
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      panda/src/dxgsg9/dxgsg9base.h
  2. 1 1
      panda/src/dxgsg9/wdxGraphicsPipe9.cxx

+ 1 - 1
panda/src/dxgsg9/dxgsg9base.h

@@ -158,7 +158,7 @@ typedef enum {
     D32_FLAG =          FLG(21),
     INTZ_FLAG =         FLG(22),
     R32F_FLAG =         FLG(23),
-    A2W10V10U10_FLAG =  FLG(24),
+    A32B32G32R32F_FLAG =FLG(24),
     ATI1_FLAG =         FLG(25),
     ATI2_FLAG =         FLG(26),
     DXT1_FLAG =         FLG(27),

+ 1 - 1
panda/src/dxgsg9/wdxGraphicsPipe9.cxx

@@ -863,7 +863,7 @@ void Init_D3DFORMAT_map() {
   INSERT_ELEM(D32);
   INSERT_ELEM(INTZ);
   INSERT_ELEM(R32F);
-  INSERT_ELEM(A2W10V10U10);
+  INSERT_ELEM(A32B32G32R32F);
   INSERT_ELEM(ATI1);
   INSERT_ELEM(ATI2);
   INSERT_ELEM(DXT1);