Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 385 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 385 Bytes

sdl-gpu-nim

Nim bindings for the SDL_gpu hardware-accelerated 2D rendering library.

To be used alongside the official Nim sdl2 bindings.

let screen = sdlgpu.init(640, 360, GPU_DEFAULT_INIT_FLAGS)
screen.circle(200, 200, 50, color(255,0,0,255))
screen.flip()
delay(1000)
sdlgpu.quit()