SDL2 engine: expose renderer for custom use cases

This commit is contained in:
Noah 2022-03-05 15:22:12 -08:00
parent 1f4af682e1
commit c1b8bc910b

View File

@ -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
}