Ver código fonte

Replace obsolete Color.TransparentBlack with Color.Transparent

Nikos Kastellanos 6 anos atrás
pai
commit
e5a9ebb0ac

+ 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
bin/Release/Windows/Aether.Content.Pipeline.DDSImporter.dll