Merge pull request #6988 from RoosterDragon/enum-memory
Reduce enum 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
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace OpenRA.Graphics
|
||||
}
|
||||
}
|
||||
|
||||
public enum TextureChannel
|
||||
public enum TextureChannel : byte
|
||||
{
|
||||
Red = 0,
|
||||
Green = 1,
|
||||
|
||||
Reference in New Issue
Block a user