浏览代码

Replace obsolete Color.TransparentBlack with Color.Transparent

Nikos Kastellanos 6 年之前
父节点
当前提交
e5a9ebb0ac
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Content.Pipeline/DDSImporter/DXT1Block.cs
  2. 二进制
      bin/Release/Windows/Aether.Content.Pipeline.DDSImporter.dll

+ 1 - 1
Content.Pipeline/DDSImporter/DXT1Block.cs

@@ -70,7 +70,7 @@ namespace tainicom.Aether.Content.Pipeline
                         new Color((color0.ToVector3() + color1.ToVector3()) / 2f);
                 case 3: return (color0.PackedValue > color1.PackedValue) ? 
                         new Color((2 * color1.ToVector3() + color0.ToVector3()) / 3) : 
-                        Color.TransparentBlack;
+                        Color.Transparent;
 
                 default: throw new NotSupportedException();
             }

二进制
bin/Release/Windows/Aether.Content.Pipeline.DDSImporter.dll