mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-16 06:22:17 +00:00
WebContent: Do not use IOSurface on Intel macOS for now
For some reason, IOSurface results in a completely blank render on Intel machines. It's not clear why, so do not use IOSurface for now in order to allow Intel users to run the browser.
This commit is contained in:
parent
cbf1fd3e61
commit
c36a7ed4c3
Notes:
github-actions[bot]
2024-08-30 19:09:04 +00:00
Author: https://github.com/trflynn89
Commit: c36a7ed4c3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1233
1 changed files with 6 additions and 1 deletions
|
@ -154,8 +154,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
#if defined(AK_OS_MACOS)
|
||||
if (!mach_server_name.is_empty()) {
|
||||
auto server_port = Core::Platform::register_with_mach_server(mach_server_name);
|
||||
[[maybe_unused]] auto server_port = Core::Platform::register_with_mach_server(mach_server_name);
|
||||
|
||||
// FIXME: For some reason, our implementation of IOSurface does not work on Intel macOS. Remove this conditional
|
||||
// compilation when that is resolved.
|
||||
# if ARCH(AARCH64)
|
||||
WebContent::BackingStoreManager::set_browser_mach_port(move(server_port));
|
||||
# endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue