changed default window size to 1280x720

This commit is contained in:
Bob Polis 2020-10-26 23:13:39 +01:00
parent 6097614905
commit 039b7ccec0

View File

@ -84,7 +84,7 @@ void Window::add_global_event_handler(WindowEventHandler handler, SDL_WindowEven
Window::Window(const std::string& title) : _title {title} { Window::Window(const std::string& title) : _title {title} {
SDL_Window* win = SDL_CreateWindow(title.c_str(), SDL_Window* win = SDL_CreateWindow(title.c_str(),
SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
800, 450, 1280, 720,
SDL_WINDOW_RESIZABLE); SDL_WINDOW_RESIZABLE);
_w.reset(win); _w.reset(win);
_r.reset(SDL_CreateRenderer(win, -1, 0)); _r.reset(SDL_CreateRenderer(win, -1, 0));