crank it up!

main
cosmonaut 2022-01-17 21:36:01 -08:00
parent 112fafe9f3
commit 4c31725fc1
3 changed files with 3 additions and 3 deletions

BIN
moonlibs/windows/Refresh.dll (Stored with Git LFS)

Binary file not shown.

View File

@ -13,7 +13,7 @@ namespace MoonWorksComputeSpriteBatch
public class SpriteBatch
{
private const int MAX_SPRITES = 16384;
public const int MAX_SPRITES = 65536;
private const int MAX_VERTICES = MAX_SPRITES * 4;
private const int MAX_INDICES = MAX_SPRITES * 6;
private const int MAX_MATRICES = MAX_SPRITES;

View File

@ -23,7 +23,7 @@ namespace MoonWorksComputeSpriteBatch
private Texture whitePixel;
private Sampler sampler;
private const int SPRITECOUNT = 8092;
private const int SPRITECOUNT = SpriteBatch.MAX_SPRITES;
private Vector3[] positions = new Vector3[SPRITECOUNT];
private uint windowWidth;