Fix BGRA channel count.

This commit is contained in:
Paul Chote
2017-02-04 17:05:00 +00:00
parent 226e2f7fa4
commit 956ea5197b

View File

@@ -22,10 +22,12 @@ namespace OpenRA.Graphics
: base(message) { } : base(message) { }
} }
// The enum values indicate the number of channels used by the type
// They are not arbitrary IDs!
public enum SheetType public enum SheetType
{ {
Indexed = 1, Indexed = 1,
BGRA = 2, BGRA = 4,
} }
public sealed class SheetBuilder : IDisposable public sealed class SheetBuilder : IDisposable