1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 19:00:10 +08:00

Don't draw 0 thickness triangles

This commit is contained in:
Andrei Zavatski
2022-11-29 02:36:27 +03:00
Unverified
parent 61bfd2f6b2
commit ba1717c2ca
+1 -1
View File
@@ -256,7 +256,7 @@ namespace osu.Game.Graphics.Backgrounds
{
base.Draw(renderer);
if (Source.AimCount == 0)
if (Source.AimCount == 0 || thickness == 0)
return;
if (vertexBatch == null || vertexBatch.Size != Source.AimCount)