diff options
Diffstat (limited to 'src/renderergl1/tr_mesh.c')
-rw-r--r-- | src/renderergl1/tr_mesh.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/renderergl1/tr_mesh.c b/src/renderergl1/tr_mesh.c index cb7707e7..6ce897e6 100644 --- a/src/renderergl1/tr_mesh.c +++ b/src/renderergl1/tr_mesh.c @@ -169,10 +169,8 @@ int R_ComputeLOD( trRefEntity_t *ent ) { float flod, lodscale; float projectedRadius; md3Frame_t *frame; -#ifdef RAVENMD4 mdrHeader_t *mdr; mdrFrame_t *mdrframe; -#endif int lod; if ( tr.currentModel->numLods < 2 ) @@ -185,7 +183,6 @@ int R_ComputeLOD( trRefEntity_t *ent ) { // multiple LODs exist, so compute projected bounding sphere // and use that as a criteria for selecting LOD -#ifdef RAVENMD4 if(tr.currentModel->type == MOD_MDR) { int frameSize; @@ -197,7 +194,6 @@ int R_ComputeLOD( trRefEntity_t *ent ) { radius = RadiusFromBounds(mdrframe->bounds[0], mdrframe->bounds[1]); } else -#endif { frame = ( md3Frame_t * ) ( ( ( unsigned char * ) tr.currentModel->md3[0] ) + tr.currentModel->md3[0]->ofsFrames ); |