1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:04:06 +08:00

Don't draw 0 thickness triangles

This commit is contained in:
Andrei Zavatski 2022-11-29 02:36:27 +03:00
parent 61bfd2f6b2
commit ba1717c2ca

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)