opnsense-ports/devel/electron32/files/patch-ui_gfx_linux_gbm__wrapper.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

11 lines
454 B
C++

--- ui/gfx/linux/gbm_wrapper.cc.orig 2024-06-18 21:44:02 UTC
+++ ui/gfx/linux/gbm_wrapper.cc
@@ -314,7 +314,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;