summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-30 06:14:20 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-30 06:14:20 +0000
commite61b7ac5e37d5c2b3eb173a0f179ebad87ae21cc (patch)
tree04a48763748a93f53573040148ff737e20204120 /games-fps/quake2-icculus/files
parentinitial commit (diff)
downloadgentoo-2-e61b7ac5e37d5c2b3eb173a0f179ebad87ae21cc.tar.gz
gentoo-2-e61b7ac5e37d5c2b3eb173a0f179ebad87ae21cc.tar.bz2
gentoo-2-e61b7ac5e37d5c2b3eb173a0f179ebad87ae21cc.zip
On amd64, select the glx video renderer by default until the software renderers work #86552.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'games-fps/quake2-icculus/files')
-rw-r--r--games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch
new file mode 100644
index 000000000000..b3291827996c
--- /dev/null
+++ b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch
@@ -0,0 +1,18 @@
+The default video renderers (softx / soft) currently do not work
+on amd64. So for now we add a little hack which will select the
+glx renderer by default.
+
+http://bugs.gentoo.org/show_bug.cgi?id=86552
+
+--- src/linux/vid_so.c
++++ src/linux/vid_so.c
+@@ -435,6 +440,9 @@ VID_Init
+ */
+ void VID_Init (void)
+ {
++#if defined __x86_64__
++ vid_ref = Cvar_Get ("vid_ref", "glx", CVAR_ARCHIVE);
++#endif
+ /* Create the video variables so we know how to start the graphics drivers */
+ // if DISPLAY is defined, try X
+ if (getenv("DISPLAY"))