From 5c3112aaeb66e94571be09491349833d9f6958a2 Mon Sep 17 00:00:00 2001 From: edisionnano Date: Sun, 6 Feb 2022 17:52:39 +0200 Subject: [PATCH] Convert the bool to a lowercase string (#3080) mesa_glthread doesn't accept PascalCase input --- Ryujinx.Common/GraphicsDriver/DriverUtilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Common/GraphicsDriver/DriverUtilities.cs b/Ryujinx.Common/GraphicsDriver/DriverUtilities.cs index 60c176f8..3aabced7 100644 --- a/Ryujinx.Common/GraphicsDriver/DriverUtilities.cs +++ b/Ryujinx.Common/GraphicsDriver/DriverUtilities.cs @@ -6,7 +6,7 @@ namespace Ryujinx.Common.GraphicsDriver { public static void ToggleOGLThreading(bool enabled) { - Environment.SetEnvironmentVariable("mesa_glthread", enabled.ToString()); + Environment.SetEnvironmentVariable("mesa_glthread", enabled.ToString().ToLower()); Environment.SetEnvironmentVariable("__GL_THREADED_OPTIMIZATIONS", enabled ? "1" : "0"); try