chore: Remove OpenGL flag from SDL_Window
* Was causing a bug with surface creation on macOS.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user