changed literal to named constant
This commit is contained in:
parent
4f9b66dc79
commit
24bed16090
@ -87,7 +87,7 @@ Window::Window(const std::string& title) : _title {title} {
|
|||||||
1600, 900,
|
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, SDL_RENDERER_ACCELERATED));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::set_size(int w, int h) {
|
void Window::set_size(int w, int h) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user