mirror of
https://github.com/ppy/osu.git
synced 2026-06-03 05:30:11 +08:00
Don't draw 0 thickness triangles
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user