Fix alias models in non-mtex fog.

It turns out that due to the way we do fullbrights, nothing special needs
to be done to get the fullbright texture blended with the model even when
fog is enabled.
This commit is contained in:
Bill Currie 2011-12-12 15:18:51 +09:00
parent 8e531a58c2
commit b05be59ea0

View file

@ -769,9 +769,7 @@ R_DrawAliasModel (entity_t *e)
qfglColor4fv (e->colormod);
qfglBindTexture (GL_TEXTURE_2D, fb_texture);
Fog_StartAdditive ();
GL_DrawAliasFrameTri (vo);
Fog_StopAdditive ();
if (gl_vector_light->int_val) {
qfglEnable (GL_LIGHTING);
@ -791,9 +789,7 @@ R_DrawAliasModel (entity_t *e)
qfglColor4fv (e->colormod);
qfglBindTexture (GL_TEXTURE_2D, fb_texture);
Fog_StartAdditive ();
GL_DrawAliasFrame (vo);
Fog_StopAdditive ();
if (gl_vector_light->int_val) {
qfglEnable (GL_LIGHTING);