From b05be59ea07c97e259eb7f5f347fc8cf15f021f4 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 12 Dec 2011 15:18:51 +0900 Subject: [PATCH] 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. --- libs/video/renderer/gl/gl_mod_alias.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/video/renderer/gl/gl_mod_alias.c b/libs/video/renderer/gl/gl_mod_alias.c index 69d65368e..5b076ab35 100644 --- a/libs/video/renderer/gl/gl_mod_alias.c +++ b/libs/video/renderer/gl/gl_mod_alias.c @@ -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);