mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
Remove some redundate statements.
This commit is contained in:
parent
f8d7bcf271
commit
ea377b80c5
2 changed files with 0 additions and 4 deletions
|
@ -562,8 +562,6 @@ R_DrawBrushModel (entity_t *e)
|
||||||
modelorg[2] = DotProduct (temp, e->transform + 8);
|
modelorg[2] = DotProduct (temp, e->transform + 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
psurf = &model->surfaces[model->firstmodelsurface];
|
|
||||||
|
|
||||||
// calculate dynamic lighting for bmodel if it's not an instanced model
|
// calculate dynamic lighting for bmodel if it's not an instanced model
|
||||||
if (model->firstmodelsurface != 0 && r_dlight_lightmap->int_val) {
|
if (model->firstmodelsurface != 0 && r_dlight_lightmap->int_val) {
|
||||||
vec3_t lightorigin;
|
vec3_t lightorigin;
|
||||||
|
|
|
@ -320,6 +320,4 @@ R_AliasEnd (void)
|
||||||
qfglDisable (GL_TEXTURE_2D);
|
qfglDisable (GL_TEXTURE_2D);
|
||||||
qfglActiveTexture (GL_TEXTURE0 + 2);
|
qfglActiveTexture (GL_TEXTURE0 + 2);
|
||||||
qfglDisable (GL_TEXTURE_2D);
|
qfglDisable (GL_TEXTURE_2D);
|
||||||
qfglActiveTexture (GL_TEXTURE0 + 3);
|
|
||||||
qfglDisable (GL_TEXTURE_2D);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue