add opengl flag to window creation
This commit is contained in:
@@ -122,7 +122,7 @@ void Controller::CreateWindow() {
|
||||
SDL_WINDOWPOS_UNDEFINED, // initial y position
|
||||
1200, // width, in pixels
|
||||
800, // height, in pixels
|
||||
SDL_WINDOW_RESIZABLE),
|
||||
SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL),
|
||||
sdl_deleter());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user