From 6730ed9555f6955ccc31a20042408e7730e11152 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 13 Apr 2026 13:40:25 +0500 Subject: [PATCH] ref: soft: remove unused isSkyVisible --- ref/soft/r_local.h | 1 - ref/soft/r_main.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/ref/soft/r_local.h b/ref/soft/r_local.h index a58f6453..4011e267 100644 --- a/ref/soft/r_local.h +++ b/ref/soft/r_local.h @@ -125,7 +125,6 @@ typedef struct const ref_viewpass_t rvp; qboolean drawWorld; // ignore world for drawing PlayerModel - qboolean isSkyVisible; // sky is visible qboolean onlyClientDraw; // disabled by client request qboolean drawOrtho; // draw world as orthogonal projection diff --git a/ref/soft/r_main.c b/ref/soft/r_main.c index 58615560..889e83c7 100644 --- a/ref/soft/r_main.c +++ b/ref/soft/r_main.c @@ -502,10 +502,7 @@ static void R_SetupFrame( void ) // current viewleaf if( RI.drawWorld ) - { - RI.isSkyVisible = false; // unknown at this moment R_FindViewLeaf(); - } // setup twice until globals fully refactored R_SetupFrameQ();