summarylogtreecommitdiffstats
path: root/wayland-egl.patch
diff options
context:
space:
mode:
authorjk2020-07-01 11:47:41 -0500
committerjk2020-07-01 11:47:41 -0500
commit566c22b6f34a309c22b108c4b5e92aab8a7d9a66 (patch)
tree2fab59a66a7bc30f65d632c4ce572589721b1f95 /wayland-egl.patch
parentd7f03dcb4419b76bab80797be8f60479bab8dcc2 (diff)
downloadaur-566c22b6f34a309c22b108c4b5e92aab8a7d9a66.tar.gz
upgpkg: ungoogled-chromium-ozone 83.0.4103.116-2
Diffstat (limited to 'wayland-egl.patch')
-rw-r--r--wayland-egl.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/wayland-egl.patch b/wayland-egl.patch
new file mode 100644
index 000000000000..58a079862f35
--- /dev/null
+++ b/wayland-egl.patch
@@ -0,0 +1,22 @@
+--- a/ui/gl/gl_image_native_pixmap.cc 2020-05-18 11:40:06.000000000 -0700
++++ b/ui/gl/gl_image_native_pixmap.cc 2020-05-22 02:07:16.007770442 -0700
+@@ -288,6 +288,8 @@
+ std::move(scoped_fd));
+ }
+
++ handle.planes[0].size = size_.GetArea();
++
+ return handle;
+ #endif // !defined(OS_FUCHSIA)
+ }
+--- a/gpu/command_buffer/service/error_state.cc 2020-05-18 11:39:22.000000000 -0700
++++ b/gpu/command_buffer/service/error_state.cc 2020-05-22 13:43:09.181180388 -0700
+@@ -115,6 +115,8 @@
+ // buffer.
+ error = GL_NO_ERROR;
+ }
++ if (error == GL_INVALID_ENUM)
++ error = GL_NO_ERROR;
+ return error;
+ }
+