summarylogtreecommitdiffstats
path: root/afece38_guard_opengl_call_in_d_display_with_gl_doom.patch
blob: 09008b97379d95be567c084569323327fc978e98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;