SDL2 engine: expose renderer for custom use cases

master
Noah 7 months ago
parent 1f4af682e1
commit c1b8bc910b
  1. 5
      sdl/sdl.go

@ -153,3 +153,8 @@ func (r *Renderer) Delay(time uint32) {
func (r *Renderer) Loop() error {
return nil
}
// Private access methods
func (r *Renderer) GetSDL2Renderer() *sdl.Renderer {
return r.renderer
}

Loading…
Cancel
Save