mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 18:56:08 +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 a new issue