Skip to content

Commit

Permalink
Try passing disable-gpu-compositing when hardware rendering is disabled
Browse files Browse the repository at this point in the history
Relates to #606
  • Loading branch information
canton7 committed Mar 2, 2021
1 parent e35c8fe commit fb0d218
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/SyncTrayzor/Pages/ViewerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ protected override void OnInitialActivate()

if (configuration.DisableHardwareRendering)
{
settings.CefCommandLineArgs.Add("disable-gpu", "1");
settings.CefCommandLineArgs.Add("disable-gpu-vsync", "1");
settings.CefCommandLineArgs.Add("disable-application-cache", "1");
settings.CefCommandLineArgs.Add("disable-gpu");
settings.CefCommandLineArgs.Add("disable-gpu-vsync");
settings.CefCommandLineArgs.Add("disable-gpu-compositing");
settings.CefCommandLineArgs.Add("disable-application-cache");
}

Cef.Initialize(settings);
Expand Down

0 comments on commit fb0d218

Please sign in to comment.