diff --git a/ref/soft/r_local.h b/ref/soft/r_local.h index 5ed417e0..a6dd39ef 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 onlyClientDraw; // disabled by client request - qboolean drawOrtho; // draw world as orthogonal projection cl_entity_t *currententity; model_t *currentmodel; diff --git a/ref/soft/r_main.c b/ref/soft/r_main.c index f9cc0fa1..a753be57 100644 --- a/ref/soft/r_main.c +++ b/ref/soft/r_main.c @@ -411,13 +411,6 @@ static void R_SetupProjectionMatrix( matrix4x4 m ) { float xMin, xMax, yMin, yMax, zNear, zFar; - if( RI.drawOrtho ) - { - const ref_overview_t *ov = gEngfuncs.GetOverviewParms(); - Matrix4x4_CreateOrtho( m, ov->xLeft, ov->xRight, ov->yTop, ov->yBottom, ov->zNear, ov->zFar ); - return; - } - RI.farClip = R_GetFarClip(); zNear = 4.0f; @@ -1155,11 +1148,6 @@ void R_SetupRefParams( const ref_viewpass_t *rvp ) RI.rvp = *rvp; RI.onlyClientDraw = FBitSet( rvp->flags, RF_ONLY_CLIENTDRAW ); - - if( !FBitSet( rvp->flags, RF_DRAW_CUBEMAP )) - RI.drawOrtho = FBitSet( rvp->flags, RF_DRAW_OVERVIEW ); - else - RI.drawOrtho = false; } /*