forked from Mirror/Ryujinx
Convert the bool to a lowercase string (#3080)
mesa_glthread doesn't accept PascalCase input
This commit is contained in:
parent
88d3ffb97c
commit
5c3112aaeb
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ namespace Ryujinx.Common.GraphicsDriver
|
||||||
{
|
{
|
||||||
public static void ToggleOGLThreading(bool enabled)
|
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");
|
Environment.SetEnvironmentVariable("__GL_THREADED_OPTIMIZATIONS", enabled ? "1" : "0");
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in a new issue