Add debug for sdl2 gpu

This commit is contained in:
Joey Yakimowich-Payne 2020-04-26 16:06:32 -06:00
commit 1a32967fae
3 changed files with 18 additions and 3 deletions

View file

@ -59,9 +59,6 @@ template generateFbo(width, height: float, code: untyped): gpu.Image =
fb.delete()
res
proc windowID*(target: ptr Target): uint32 {.
cdecl, importc: "GPU_getWindowID".}
proc main() =
let
fps = newGraph(RenderStyle.FPS, "Frame Time")