Files
ports/devel/electron43/files/patch-ui_gfx_linux_gbm__wrapper.cc
2026-10-04 04:07:15 +00:00

12 lines
454 B
C++

--- ui/gfx/linux/gbm_wrapper.cc.orig 2025-10-21 20:19:54 UTC
+++ ui/gfx/linux/gbm_wrapper.cc
@@ -341,7 +341,7 @@ class Device final : public ui::GbmDevice {
// of 1x1 BOs which are destroyed before creating the final BO creation used
// to instantiate the returned GbmBuffer.
gfx::Size size_for_verification =
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
gfx::Size(1, 1);
#else
requested_size;