aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-ui_gfx_gpu__extra__info.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-ui_gfx_gpu__extra__info.h')
-rw-r--r--devel/electron37/files/patch-ui_gfx_gpu__extra__info.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ui_gfx_gpu__extra__info.h b/devel/electron37/files/patch-ui_gfx_gpu__extra__info.h
new file mode 100644
index 000000000000..3697369bcb62
--- /dev/null
+++ b/devel/electron37/files/patch-ui_gfx_gpu__extra__info.h
@@ -0,0 +1,11 @@
+--- ui/gfx/gpu_extra_info.h.orig 2025-06-30 07:04:30 UTC
++++ ui/gfx/gpu_extra_info.h
+@@ -51,7 +51,7 @@ struct COMPONENT_EXPORT(GFX) GpuExtraInfo {
+ std::vector<gfx::BufferUsageAndFormat> gpu_memory_buffer_support_x11;
+ #endif // BUILDFLAG(IS_OZONE_X11)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ bool is_gmb_nv12_supported = false;
+ #endif
+ };