Development Merge 2025.10.18 #4

Merged
Syntriax merged 91 commits from development into main 2025-10-18 10:03:13 +02:00
Showing only changes of commit 651b0614c4 - Show all commits

View File

@@ -58,6 +58,9 @@ public class TriangleBatch : ITriangleBatch
private void Flush() private void Flush()
{ {
if (verticesIndex == 0)
return;
graphicsDevice.RasterizerState = rasterizerState; graphicsDevice.RasterizerState = rasterizerState;
basicEffect.Projection = _projection; basicEffect.Projection = _projection;
basicEffect.View = _view; basicEffect.View = _view;