changed default window size to 1600x900
This commit is contained in:
parent
039b7ccec0
commit
50b045e173
@ -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,
|
||||||
1280, 720,
|
1600, 900,
|
||||||
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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user