From 4d90f21e9e59bb1aff5875b7c9ed2caa9cac98c0 Mon Sep 17 00:00:00 2001 From: Justin Scofield <47263509+scawful@users.noreply.github.com> Date: Sun, 7 Aug 2022 12:39:26 -0400 Subject: [PATCH] chore: Remove OpenGL flag from SDL_Window * Was causing a bug with surface creation on macOS. --- src/app/core/controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/controller.cc b/src/app/core/controller.cc index 4930d166..9994226f 100644 --- a/src/app/core/controller.cc +++ b/src/app/core/controller.cc @@ -156,7 +156,7 @@ absl::Status Controller::CreateWindow() { SDL_WINDOWPOS_UNDEFINED, // initial y position 1200, // width, in pixels 800, // height, in pixels - SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL), + SDL_WINDOW_RESIZABLE), sdl_deleter()); if (window_ == nullptr) { return absl::InternalError(