almost working gl font renderer
This commit is contained in:
@@ -50,7 +50,7 @@ namespace OpenRa
|
||||
for (int j = 0; j < Game.CellSize; j++)
|
||||
data[i * Game.CellSize + j] = ((i + j) % 4 < 2) ? (byte)0 : paletteIndex;
|
||||
|
||||
return SheetBuilder.Add( data, new Size(Game.CellSize,Game.CellSize) );
|
||||
return SheetBuilder.SharedInstance.Add(data, new Size(Game.CellSize, Game.CellSize));
|
||||
}
|
||||
|
||||
public void Draw( World world )
|
||||
|
||||
Reference in New Issue
Block a user