Remove some redundate statements.

This commit is contained in:
Bill Currie 2012-01-08 20:38:21 +09:00
parent f8d7bcf271
commit ea377b80c5
2 changed files with 0 additions and 4 deletions

View file

@ -562,8 +562,6 @@ R_DrawBrushModel (entity_t *e)
modelorg[2] = DotProduct (temp, e->transform + 8);
}
psurf = &model->surfaces[model->firstmodelsurface];
// calculate dynamic lighting for bmodel if it's not an instanced model
if (model->firstmodelsurface != 0 && r_dlight_lightmap->int_val) {
vec3_t lightorigin;

View file

@ -320,6 +320,4 @@ R_AliasEnd (void)
qfglDisable (GL_TEXTURE_2D);
qfglActiveTexture (GL_TEXTURE0 + 2);
qfglDisable (GL_TEXTURE_2D);
qfglActiveTexture (GL_TEXTURE0 + 3);
qfglDisable (GL_TEXTURE_2D);
}