AppStates are bound to a window at construction
LB-- opened this issue · 0 comments
LB-- commented
AppStates 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().