- SheetSize is configurable. - TerrainRenderer gets to load it's sprites first, meaning we need one less texture.
This commit is contained in:
@@ -9,6 +9,8 @@ namespace OpenRa.Game.Graphics
|
||||
{
|
||||
class Renderer
|
||||
{
|
||||
internal static int SheetSize;
|
||||
|
||||
readonly GraphicsDevice device;
|
||||
Texture[] palettes;
|
||||
public Shader SpriteShader { get; private set; } /* note: shared shader params */
|
||||
|
||||
Reference in New Issue
Block a user