mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: soft: remove unused isSkyVisible
This commit is contained in:
@@ -125,7 +125,6 @@ typedef struct
|
|||||||
const ref_viewpass_t rvp;
|
const ref_viewpass_t rvp;
|
||||||
|
|
||||||
qboolean drawWorld; // ignore world for drawing PlayerModel
|
qboolean drawWorld; // ignore world for drawing PlayerModel
|
||||||
qboolean isSkyVisible; // sky is visible
|
|
||||||
qboolean onlyClientDraw; // disabled by client request
|
qboolean onlyClientDraw; // disabled by client request
|
||||||
qboolean drawOrtho; // draw world as orthogonal projection
|
qboolean drawOrtho; // draw world as orthogonal projection
|
||||||
|
|
||||||
|
|||||||
@@ -502,10 +502,7 @@ static void R_SetupFrame( void )
|
|||||||
|
|
||||||
// current viewleaf
|
// current viewleaf
|
||||||
if( RI.drawWorld )
|
if( RI.drawWorld )
|
||||||
{
|
|
||||||
RI.isSkyVisible = false; // unknown at this moment
|
|
||||||
R_FindViewLeaf();
|
R_FindViewLeaf();
|
||||||
}
|
|
||||||
|
|
||||||
// setup twice until globals fully refactored
|
// setup twice until globals fully refactored
|
||||||
R_SetupFrameQ();
|
R_SetupFrameQ();
|
||||||
|
|||||||
Reference in New Issue
Block a user