From 4c31725fc18227fef2fb5a4431a7255c5f08bd26 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 17 Jan 2022 21:36:01 -0800 Subject: [PATCH] crank it up! --- moonlibs/windows/Refresh.dll | 2 +- src/SpriteBatch.cs | 2 +- src/TestGame.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/moonlibs/windows/Refresh.dll b/moonlibs/windows/Refresh.dll index 8064ee8..2dcccf4 100644 --- a/moonlibs/windows/Refresh.dll +++ b/moonlibs/windows/Refresh.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4de87c9bf2a8f6286d7adfcaaa5554590370049f67127495fc289572f86b9629 +oid sha256:3a2d845e57b46ab3c002770e80a67f2f08d0d8a2ffe93e918edfba96d9fef965 size 122880 diff --git a/src/SpriteBatch.cs b/src/SpriteBatch.cs index 40ee580..6d82a0c 100644 --- a/src/SpriteBatch.cs +++ b/src/SpriteBatch.cs @@ -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; diff --git a/src/TestGame.cs b/src/TestGame.cs index 99469d9..a07b1fc 100644 --- a/src/TestGame.cs +++ b/src/TestGame.cs @@ -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;