Make the underlying types of TextureChannel and BlendMode enums a byte to save memory.
This commit is contained in:
@@ -32,7 +32,7 @@ namespace OpenRA
|
||||
IGraphicsDevice Create(Size size, WindowMode windowMode);
|
||||
}
|
||||
|
||||
public enum BlendMode { None, Alpha, Additive, Subtractive, Multiply }
|
||||
public enum BlendMode : byte { None, Alpha, Additive, Subtractive, Multiply }
|
||||
|
||||
public interface IGraphicsDevice : IDisposable
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user