add opengl flag to window creation

This commit is contained in:
Justin Scofield
2022-06-19 11:57:52 -04:00
parent 39f451b3fc
commit 3362e10a30

View File

@@ -122,7 +122,7 @@ void Controller::CreateWindow() {
SDL_WINDOWPOS_UNDEFINED, // initial y position SDL_WINDOWPOS_UNDEFINED, // initial y position
1200, // width, in pixels 1200, // width, in pixels
800, // height, in pixels 800, // height, in pixels
SDL_WINDOW_RESIZABLE), SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL),
sdl_deleter()); sdl_deleter());
} }
} }