From: Mario Date: Wed, 15 Jan 2020 17:58:01 +0000 (+1000) Subject: Since the polygon drawing calls now explicitly state whether they're 2D or 3D, remove... X-Git-Tag: xonotic-v0.8.5~1105^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d8823865b2f81849f95502962b7ef2a652118540;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- 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);