Skip to content

Widget gui_defenseRange causes improper triangle drawing when removing circles #5798

Description

@SteelBlueZK

https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Widgets/gui_defenseRange.lua

https://www.youtube.com/watch?v=99cVKPP7Dmw

Video Description I have a higher framerate than recording rate, so the video isn't showing every improper triangle render. about 90%+ times I swap vision and the static ranges are no longer drawn I see this triangle. I assume when I don't see the triangle, it's getting drawn out of my vision.

When a static defence range from this widget stops being drawn, there's a chance that, for a frame, a strange triangle gets drawn on screen (see above video). This has happened on at least 2 AMD graphics machines, one linux one windows (see Discord Link) so I'm ready to not test on NVIDA and say it's an AMD bug. The video only shows what happens when swapping spectator LOS state, but I've seen it in game, assumedly when somewhere on the map an enemy turret dies and the persistent range circle disappears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions