Merge pull request #6988 from RoosterDragon/enum-memory

Reduce enum memory
This commit is contained in:
Matthias Mailänder
2014-11-23 14:48:20 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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
{

View File

@@ -47,7 +47,7 @@ namespace OpenRA.Graphics
}
}
public enum TextureChannel
public enum TextureChannel : byte
{
Red = 0,
Green = 1,