From d8823865b2f81849f95502962b7ef2a652118540 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 16 Jan 2020 03:58:01 +1000 Subject: [PATCH] Since the polygon drawing calls now explicitly state whether they're 2D or 3D, remove a hack older than Xonotic that was used to force the engine to guess that it's 2D mode --- qcsrc/client/view.qc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 34ddaef50..eb341d58c 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -2445,10 +2445,7 @@ void CSQC_UpdateView(entity this, float w, float h) addentities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS); // TODO: .health is used in cl_deathfade (a feature we have turned off currently) renderscene(); - // now switch to 2D drawing mode by calling a 2D drawing function - // then polygon drawing will draw as 2D stuff, and NOT get queued until the - // next R_RenderScene call - drawstring('0 0 0', "", '1 1 0', '1 1 1', 0, 0); + // Now the the scene has been rendered, begin with the 2D drawing functions View_NightVision(); DrawReticle(local_player); -- 2.39.2