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:
parent
61bfd2f6b2
commit
ba1717c2ca
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user