SDL2 engine: expose renderer for custom use cases
This commit is contained in:
parent
1f4af682e1
commit
c1b8bc910b
|
@ -153,3 +153,8 @@ func (r *Renderer) Delay(time uint32) {
|
||||||
func (r *Renderer) Loop() error {
|
func (r *Renderer) Loop() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Private access methods
|
||||||
|
func (r *Renderer) GetSDL2Renderer() *sdl.Renderer {
|
||||||
|
return r.renderer
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user