From def994f40645918aea598034c803551631b788e8 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 9 Dec 2023 00:18:10 -0600 Subject: [PATCH] [turbine/glfw] Enable GLFW_OPENGL_FORWARD_COMPAT on all platforms --- src/turbine/src/glfw/gfx.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/turbine/src/glfw/gfx.cpp b/src/turbine/src/glfw/gfx.cpp index 9c156579..bdb50c32 100644 --- a/src/turbine/src/glfw/gfx.cpp +++ b/src/turbine/src/glfw/gfx.cpp @@ -200,9 +200,7 @@ ox::Error initGfx(Context &ctx) noexcept { glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); - if constexpr(ox::defines::OS == ox::OS::Darwin) { - glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); - } + glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE); constexpr auto Scale = 5; ctx.window = glfwCreateWindow(240 * Scale, 160 * Scale, ctx.keelCtx.appName.c_str(), nullptr, nullptr);