Use nimterop head

This commit is contained in:
Joey Yakimowich-Payne 2020-09-12 11:02:04 -06:00
commit 79476a4027
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ srcDir = "src"
# Dependencies
requires "nim >= 1.0.6",
"https://github.com/jyapayne/nimterop#93c8372",
"https://github.com/jyapayne/nimterop#head",
"opengl >= 1.2.6",
"sdl2#head",
"https://github.com/jyapayne/nim-glew#head",

View file

@ -73,7 +73,7 @@ cDefine("NANOVG_GL3", "")
cOverride:
# Standard Nim code to wrap types, consts, procs, etc.
type
NVGcolor* {.bycopy, impnanovgHdr, importc: "struct NVGcolor".} = object
NVGcolor* {.bycopy, importc: "struct NVGcolor".} = object
r*: cfloat
g*: cfloat
b*: cfloat