wayland-egl.patch 646 B

1234567891011121314151617181920212223
  1. --- a/ui/gl/gl_image_native_pixmap.cc 2020-05-18 11:40:06.000000000 -0700
  2. +++ b/ui/gl/gl_image_native_pixmap.cc 2020-05-22 02:07:16.007770442 -0700
  3. @@ -288,6 +288,8 @@
  4. std::move(scoped_fd));
  5. }
  6. + handle.planes[0].size = size_.GetArea();
  7. +
  8. return handle;
  9. #endif // !defined(OS_FUCHSIA)
  10. }
  11. --- a/gpu/command_buffer/service/error_state.cc 2020-05-18 11:39:22.000000000 -0700
  12. +++ b/gpu/command_buffer/service/error_state.cc 2020-05-22 13:43:09.181180388 -0700
  13. @@ -115,6 +115,8 @@
  14. // buffer.
  15. error = GL_NO_ERROR;
  16. }
  17. + if (error == GL_INVALID_ENUM)
  18. + error = GL_NO_ERROR;
  19. return error;
  20. }