Skip to content

Commit

Permalink
Fix #2932 (Fix CEF hardware acceleration not working) (#2933)
Browse files Browse the repository at this point in the history
* Fix CEF hardware acceleration not working

* Update Client/cefweb/CWebApp.cpp

Co-authored-by: Uladzislau Nikalayevich <[email protected]>

* Update CWebApp.cpp

---------

Co-authored-by: lopsi <[email protected]>
Co-authored-by: Uladzislau Nikalayevich <[email protected]>
  • Loading branch information
3 people authored Oct 8, 2024
1 parent 78f6d66 commit 0263011
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Client/cefweb/CWebApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ CefRefPtr<CefResourceHandler> CWebApp::HandleError(const SString& strError, unsi

void CWebApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> 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");

Expand Down

0 comments on commit 0263011

Please sign in to comment.