From 026301168d2cd8239650a4f0aa33ff0be6d752dc Mon Sep 17 00:00:00 2001 From: TFP-dev <72511827+TFP-dev@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:05:07 +0200 Subject: [PATCH] Fix #2932 (Fix CEF hardware acceleration not working) (#2933) * Fix CEF hardware acceleration not working * Update Client/cefweb/CWebApp.cpp Co-authored-by: Uladzislau Nikalayevich * Update CWebApp.cpp --------- Co-authored-by: lopsi <40902730+Lpsd@users.noreply.github.com> Co-authored-by: Uladzislau Nikalayevich --- Client/cefweb/CWebApp.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Client/cefweb/CWebApp.cpp b/Client/cefweb/CWebApp.cpp index 886d0e109c..a6fe5397e5 100644 --- a/Client/cefweb/CWebApp.cpp +++ b/Client/cefweb/CWebApp.cpp @@ -21,8 +21,6 @@ CefRefPtr CWebApp::HandleError(const SString& strError, unsi void CWebApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr command_line) { - command_line->AppendSwitch("disable-gpu-compositing"); - command_line->AppendSwitch("disable-gpu"); // command_line->AppendSwitch("disable-d3d11"); command_line->AppendSwitch("enable-begin-frame-scheduling");