Now creates window fullscreen
This commit is contained in:
parent
9619bfb282
commit
b49decc0c5
2
main.cpp
2
main.cpp
@ -165,7 +165,7 @@ int main(int argc, const char * argv[]) {
|
||||
sc::gui::SDLImageWrapper sdl_image;
|
||||
|
||||
// main window
|
||||
sc::gui::Window& window {sc::gui::Window::new_window("Living Art")};
|
||||
sc::gui::Window& window {sc::gui::Window::new_window("Living Art", SDL_WINDOW_FULLSCREEN)};
|
||||
main_window = &window;
|
||||
window.add_event_handler(handle_window_resize, SDL_WINDOWEVENT_RESIZED);
|
||||
window.add_event_handler(handle_window_resize, SDL_WINDOWEVENT_SIZE_CHANGED);
|
||||
|
Loading…
x
Reference in New Issue
Block a user