Open
Description
AppState
s are bound to an sf::RenderWindow
upon construction, however it would make more sense if the sf::RenderWindow
were passed to onRender()
instead so that, for example, the same AppState
could be rendered to multiple different rendering targets. After all, the only time an AppState
ever needs to know about its render target is in onRender()
.