Skip to content

AppStates are bound to a window at construction #98

Open
@LB--

Description

@LB--

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().

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions