diff options
Diffstat (limited to 'src/renderer/tr_surface.c')
-rw-r--r-- | src/renderer/tr_surface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/renderer/tr_surface.c b/src/renderer/tr_surface.c index 0fcfc3f0..7a836386 100644 --- a/src/renderer/tr_surface.c +++ b/src/renderer/tr_surface.c @@ -232,7 +232,7 @@ static void RB_SurfaceTriangles( srfTriangles_t *srf ) { int dlightBits; qboolean needsNormal; - dlightBits = srf->dlightBits[backEnd.smpFrame]; + dlightBits = srf->dlightBits; tess.dlightBits |= dlightBits; RB_CHECKOVERFLOW( srf->numVerts, srf->numIndexes ); @@ -916,7 +916,7 @@ static void RB_SurfaceFace( srfSurfaceFace_t *surf ) { RB_CHECKOVERFLOW( surf->numPoints, surf->numIndices ); - dlightBits = surf->dlightBits[backEnd.smpFrame]; + dlightBits = surf->dlightBits; tess.dlightBits |= dlightBits; indices = ( unsigned * ) ( ( ( char * ) surf ) + surf->ofsIndices ); @@ -1008,7 +1008,7 @@ static void RB_SurfaceGrid( srfGridMesh_t *cv ) { int *vDlightBits; qboolean needsNormal; - dlightBits = cv->dlightBits[backEnd.smpFrame]; + dlightBits = cv->dlightBits; tess.dlightBits |= dlightBits; // determine the allowable discrepance |