git: 064dbd0f3082 - main - www/chromium: add forgotten patch in last commit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Mar 2022 17:08:14 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=064dbd0f3082fd1da6e11ba7386f3a9182543341
commit 064dbd0f3082fd1da6e11ba7386f3a9182543341
Author: Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-03-19 17:06:32 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-03-19 17:07:27 +0000
www/chromium: add forgotten patch in last commit
---
www/chromium/files/patch-ui_gl_gl__context.cc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/www/chromium/files/patch-ui_gl_gl__context.cc b/www/chromium/files/patch-ui_gl_gl__context.cc
new file mode 100644
index 000000000000..b77cfee35772
--- /dev/null
+++ b/www/chromium/files/patch-ui_gl_gl__context.cc
@@ -0,0 +1,11 @@
+--- ui/gl/gl_context.cc.orig 2022-03-19 12:56:15 UTC
++++ ui/gl/gl_context.cc
+@@ -414,7 +414,7 @@ bool GLContext::MakeVirtuallyCurrent(
+ DCHECK(virtual_context->IsCurrent(surface));
+
+ if (switched_real_contexts || virtual_context != current_virtual_context_) {
+-#if DCHECK_IS_ON()
++#if DCHECK_IS_ON() && !BUILDFLAG(IS_BSD)
+ GLenum error = glGetError();
+ // Accepting a context loss error here enables using debug mode to work on
+ // context loss handling in virtual context mode.