Changed renderer flag
This commit is contained in:
parent
b2354d68c0
commit
00b562337d
@ -91,7 +91,7 @@ Window::Window(const std::string& title, Uint32 flags) : _title {title} {
|
||||
1600, 900,
|
||||
flags);
|
||||
_w.reset(win);
|
||||
_r.reset(SDL_CreateRenderer(win, -1, SDL_RENDERER_ACCELERATED));
|
||||
_r.reset(SDL_CreateRenderer(win, -1, SDL_RENDERER_PRESENTVSYNC));
|
||||
}
|
||||
|
||||
void Window::set_size(int w, int h) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user