Fix glew, add more icons to example
This commit is contained in:
parent
9aa5277476
commit
a10a1d8812
3 changed files with 12 additions and 12 deletions
|
|
@ -70,7 +70,7 @@ proc main() =
|
|||
var done = false
|
||||
var prevt: float = sdl.getTicks().float/1000.0
|
||||
|
||||
glewInit()
|
||||
discard glew.init()
|
||||
let vg = nanovg.newContext()
|
||||
vg.loadFont(currentSourceDir()/"resources"/"Roboto-Regular.ttf", "sans")
|
||||
vg.loadFont(currentSourceDir()/"resources"/"Roboto-Bold.ttf", "sans-bold")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue