chore: Remove OpenGL flag from SDL_Window

* Was causing a bug with surface creation on macOS.
This commit is contained in:
Justin Scofield
2022-08-07 12:39:26 -04:00
parent 3b24ce11d0
commit 4d90f21e9e

View File

@@ -156,7 +156,7 @@ absl::Status 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_OPENGL), SDL_WINDOW_RESIZABLE),
sdl_deleter()); sdl_deleter());
if (window_ == nullptr) { if (window_ == nullptr) {
return absl::InternalError( return absl::InternalError(