diff options
Diffstat (limited to 'games-fps/prboom-plus/files/prboom-plus-2.6.1-Guard-OpenGL-call-in-D_Display-with-GL_DOOM.patch')
-rw-r--r-- | games-fps/prboom-plus/files/prboom-plus-2.6.1-Guard-OpenGL-call-in-D_Display-with-GL_DOOM.patch | 28 |
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 + |