Record the SheetType in each Sheet.
This commit is contained in:
@@ -22,7 +22,7 @@ namespace OpenRA.Mods.Common.LoadScreens
|
||||
|
||||
public void Init(Manifest m, Dictionary<string, string> info)
|
||||
{
|
||||
var sheet = new Sheet(info["Image"]);
|
||||
var sheet = new Sheet(SheetType.BGRA, info["Image"]);
|
||||
var res = Game.Renderer.Resolution;
|
||||
bounds = new Rectangle(0, 0, res.Width, res.Height);
|
||||
sprite = new Sprite(sheet, new Rectangle(0, 0, 1024, 480), TextureChannel.Alpha);
|
||||
|
||||
Reference in New Issue
Block a user