summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2021-08-18 07:42:43 +0900
committerIonen Wolkens <ionen@gentoo.org>2021-08-27 05:30:08 -0400
commitc22715614a24c3347d7161a221b943976b7d8c07 (patch)
tree2e16fd3645eca80d2d5b696e9ef391dc46318ccc /games-fps/prboom-plus/files
parentgames-action/xpilot: EAPI8, minor improvements (diff)
downloadgentoo-c22715614a24c3347d7161a221b943976b7d8c07.tar.gz
gentoo-c22715614a24c3347d7161a221b943976b7d8c07.tar.bz2
gentoo-c22715614a24c3347d7161a221b943976b7d8c07.zip
games-fps/prboom-plus: Bump to version 2.6.1
Closes: https://bugs.gentoo.org/808797 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22046 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-fps/prboom-plus/files')
-rw-r--r--games-fps/prboom-plus/files/prboom-plus-2.6.1-Guard-OpenGL-call-in-D_Display-with-GL_DOOM.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/games-fps/prboom-plus/files/prboom-plus-2.6.1-Guard-OpenGL-call-in-D_Display-with-GL_DOOM.patch b/games-fps/prboom-plus/files/prboom-plus-2.6.1-Guard-OpenGL-call-in-D_Display-with-GL_DOOM.patch
new file mode 100644
index 000000000000..78a0285703f4
--- /dev/null
+++ b/games-fps/prboom-plus/files/prboom-plus-2.6.1-Guard-OpenGL-call-in-D_Display-with-GL_DOOM.patch
@@ -0,0 +1,28 @@
+From eca393ffd3c05279150a29e104953c0234a59736 Mon Sep 17 00:00:00 2001
+From: William Breathitt Gray <vilhelm.gray@gmail.com>
+Date: Fri, 27 Aug 2021 12:06:45 +0900
+Subject: [PATCH] Guard OpenGL call in D_Display() with GL_DOOM
+
+Fixes: https://github.com/coelckers/prboom-plus/issues/382
+---
+ prboom2/src/d_main.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/prboom2/src/d_main.c b/prboom2/src/d_main.c
+index 16a9efc2..4fe97465 100644
+--- a/prboom2/src/d_main.c
++++ b/prboom2/src/d_main.c
+@@ -395,8 +395,10 @@ void D_Display (fixed_t frac)
+ R_DrawViewBorder();
+ HU_Drawer();
+
++#ifdef GL_DOOM
+ if (V_GetMode() == VID_MODEGL)
+ gld_ProcessExtraAlpha();
++#endif
+ }
+
+ isborderstate = isborder;
+--
+2.33.0
+