mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:36:25 +00:00
Convert the bool to a lowercase string (#3080)
mesa_glthread doesn't accept PascalCase input
This commit is contained in:
parent
88d3ffb97c
commit
5c3112aaeb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user