diff options
Diffstat (limited to 'Ryujinx/Program.cs')
-rw-r--r-- | Ryujinx/Program.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Ryujinx/Program.cs b/Ryujinx/Program.cs index e6771a43..9600f9dc 100644 --- a/Ryujinx/Program.cs +++ b/Ryujinx/Program.cs @@ -2,6 +2,7 @@ using ARMeilleure.Translation.PTC; using FFmpeg.AutoGen; using Gtk; using Ryujinx.Common.Configuration; +using Ryujinx.Common.GraphicsDriver; using Ryujinx.Common.Logging; using Ryujinx.Common.System; using Ryujinx.Common.SystemInfo; @@ -147,6 +148,9 @@ namespace Ryujinx // Logging system information. PrintSystemInfo(); + // Enable OGL multithreading on the driver, when available. + DriverUtilities.ToggleOGLThreading(true); + // Initialize Gtk. Application.Init(); @@ -158,9 +162,6 @@ namespace Ryujinx UserErrorDialog.CreateUserErrorDialog(UserError.NoKeys); } - // Force dedicated GPU if we can. - ForceDedicatedGpu.Nvidia(); - // Show the main window UI. MainWindow mainWindow = new MainWindow(); mainWindow.Show(); |