From 69aa507143027782ab96d341e67ff69f9339c2f1 Mon Sep 17 00:00:00 2001 From: Shpoike Date: Tue, 13 Oct 2020 18:56:50 +0100 Subject: [PATCH] Fix polyblend not working with full csqc. --- Quake/pr_ext.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Quake/pr_ext.c b/Quake/pr_ext.c index 17216d43..898fddfc 100644 --- a/Quake/pr_ext.c +++ b/Quake/pr_ext.c @@ -6572,6 +6572,7 @@ static void PF_m_setproperty(void) } void R_SetupView (void); +void V_PolyBlend (void); void R_RenderScene (void); void SCR_DrawCrosshair (void); float CalcFovy (float fov_x, float width, float height); @@ -6605,6 +6606,8 @@ static void PF_m_renderscene(void) } R_SetupView (); R_RenderScene (); + if (r_refdef.drawworld) + V_PolyBlend (); vid.recalc_refdef = true; GL_Set2D();