mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
11 lines
496 B
C++
11 lines
496 B
C++
--- ui/gl/gl_context.cc.orig 2025-01-27 17:37:37 UTC
|
|
+++ ui/gl/gl_context.cc
|
|
@@ -516,7 +516,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.
|