Adds fullscreen and window size settings and coverage based pixel art

scaling
This commit is contained in:
Imbris
2020-01-01 22:48:11 -05:00
parent ecf36cb778
commit e5d841e62f
10 changed files with 261 additions and 19 deletions

View File

@ -56,7 +56,7 @@ impl PlayState for MainMenuState {
loop {
// Handle window events.
for event in global_state.window.fetch_events() {
for event in global_state.window.fetch_events(&mut global_state.settings) {
match event {
Event::Close => return PlayStateResult::Shutdown,
// Pass events to ui.