SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
www/ungoogled-chromium/patches/patch-ui_gl_gl_context_cc
Normal file
12
www/ungoogled-chromium/patches/patch-ui_gl_gl_context_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: ui/gl/gl_context.cc
|
||||
--- ui/gl/gl_context.cc.orig
|
||||
+++ ui/gl/gl_context.cc
|
||||
@@ -443,7 +443,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.
|
Loading…
Add table
Add a link
Reference in a new issue