Add sdl_gpu demo, add more glyph positions and text rendering

This commit is contained in:
Joey Yakimowich-Payne 2020-04-25 15:26:03 -06:00
commit ee2f3065b8
12 changed files with 312 additions and 78 deletions

View file

@ -5,7 +5,6 @@ import perf
import common
proc main =
glfw.initialize()
var c = DefaultOpenglWindowConfig
c.version = glv32
c.title = "Minimal Nim-GLFW example"
@ -18,6 +17,7 @@ proc main =
cpuGraph = newGraph(RenderStyle.MS, "CPU Time")
glfw.initialize()
var w = newWindow(c)
swapInterval(0)
setTime(0)