Skip to content

Commit 5129743

Browse files
Update BrowserCefApp.cs
1 parent 37f9368 commit 5129743

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

CefGlue.Common/BrowserCefApp.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ protected override void OnBeforeCommandLineProcessing(string processType, CefCom
2424
switch (CefRuntime.Platform)
2525
{
2626
case CefRuntimePlatform.Windows:
27-
// TODO hgo: This is not a real solution. Temporary fix
28-
//commandLine.AppendSwitch("use-angle", "d3d9");
29-
//commandLine.AppendSwitch("use-angle", "d3d11");
30-
//commandLine.AppendSwitch("use-angle", "d3d12");
27+
// This is a workaround to GPU compatible issues. Better fix is needed.
28+
commandLine.AppendSwitch("use-angle", "d3d9");
3129
break;
3230
case CefRuntimePlatform.Linux:
3331
commandLine.AppendSwitch("no-zygote", "1");

0 commit comments

Comments
 (0)