Skip to content

drawline does not work (it does in Xonotic 2017) #309

Description

@Baker7

In CSQC, VM_drawline for reasons I do not understand -- does not render.

"shownetgraph 1" works. And shownetgraph calls DrawQ_Line.

VM_drawline calls DrawQ_Line.

In CSQC, as a test I did a drawfill right after drawline and drawfill works. But under no circumstance can I get vm_drawline to work. The arguments DrawQ_Line look ok.

A quick search of the Xonotic QuakeC indicates drawline function is never called (it's not popular at all).

If I load up Xonotic 2017 or DarkPlaces 2017, drawline works --- although those do not use Mesh UI for drawing so the rendering code is totally different.

Not super interested in this, because I do not think I will be using draw line for anything, I'm trying to come up with something that does anti-aliased lines and "drawline" cannot do that, and I don't otherwise use drawline for anything. But filing this information here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions