diff options
Diffstat (limited to 'devel/electron23/files/patch-gpu_command__buffer_tests_gl__test__utils.cc')
-rw-r--r-- | devel/electron23/files/patch-gpu_command__buffer_tests_gl__test__utils.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-gpu_command__buffer_tests_gl__test__utils.cc b/devel/electron23/files/patch-gpu_command__buffer_tests_gl__test__utils.cc new file mode 100644 index 000000000000..380ff3266102 --- /dev/null +++ b/devel/electron23/files/patch-gpu_command__buffer_tests_gl__test__utils.cc @@ -0,0 +1,20 @@ +--- gpu/command_buffer/tests/gl_test_utils.cc.orig 2022-07-22 17:30:31 UTC ++++ gpu/command_buffer/tests/gl_test_utils.cc +@@ -24,7 +24,7 @@ + #include "ui/gl/gl_version_info.h" + #include "ui/gl/init/gl_factory.h" + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include "ui/gl/gl_image_native_pixmap.h" + #endif + +@@ -458,7 +458,7 @@ void GpuCommandBufferTestEGL::RestoreGLDefault() { + window_system_binding_info_ = gl::GLWindowSystemBindingInfo(); + } + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + scoped_refptr<gl::GLImageNativePixmap> + GpuCommandBufferTestEGL::CreateGLImageNativePixmap(gfx::BufferFormat format, + gfx::Size size, |