-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Maybe I am just being dumb, but I am trying the README example to draw primitives (which I know for a fact can be done with the Lua Bindings):
imgui.DrawList_AddLine(
imgui.DrawList_AddLine(0, 0, 100, 100, 0xFF0000FF, 2)
And it errors out (using it on Love2d, but to my understanding this should be irrelevant):
Error: Syntax error: main.lua:27: ')' expected (to close '(' at line 25) near 'imgui'
If I close out the parens it turns out that this function isn't even present:
attempt to call field 'DrawList_AddLine' (a nil value)
What should I be doing here?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels