mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
sci-chemistry/xcrysden: disable OpenGL accumulation buffer
By default XCrySDen uses ToGL to request an OpenGL accumulation buffer, which often causes problems (i.e., failing to launch at all) when running under XWayland. Signed-off-by: Patrick J. Taylor <patrick.joseph.taylor@gmail.com>
This commit is contained in:
2 files changed
+16
No files matched your search
@@ -0,0 +1,15 @@
|
||||
Disable OpenGL accumulation buffer for XWayland compatibility
|
||||
|
||||
diff --git a/Tcl/custom-definitions b/Tcl/custom-definitions
|
||||
index 5267760..1221749 100644
|
||||
--- a/Tcl/custom-definitions
|
||||
+++ b/Tcl/custom-definitions
|
||||
@@ -18,7 +18,7 @@
|
||||
# $XCRYSDEN_TOPDIR/Tcl/toglOpt.tcl
|
||||
# ------------------------------------------------------------------------
|
||||
|
||||
-#set toglOpt(accum) false
|
||||
+set toglOpt(accum) false
|
||||
#set toglOpt(stereo) none
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${P}-Togl-lib.patch"
|
||||
"${FILESDIR}/${P}-wrapper-paths.patch"
|
||||
"${FILESDIR}/${P}-c23.patch"
|
||||
"${FILESDIR}/${P}-disable-accum-buffer.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in new issue
Block a user