From 2227e487c0871ca0df6237cc146b357c2ca8e5c3 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 2 Nov 2024 22:25:54 +0300 Subject: [PATCH] engine: client: explicitly set rendermode for R_ShowTree --- engine/client/cl_view.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engine/client/cl_view.c b/engine/client/cl_view.c index 0310b2cf..bcb44978 100644 --- a/engine/client/cl_view.c +++ b/engine/client/cl_view.c @@ -484,9 +484,7 @@ static void R_ShowTree( void ) world.recursion_level = 0; viewleaf = Mod_PointInLeaf( refState.vieworg, cl.worldmodel->nodes ); - //pglEnable( GL_BLEND ); - //pglBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); - //pglTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE ); + ref.dllFuncs.TriRenderMode( kRenderTransTexture ); //pglLineWidth( 2.0f ); ref.dllFuncs.Color4f( 1, 0.7f, 0, 1.0f );