diff --git a/source/gl_rmain.c b/source/gl_rmain.c index a79f7d8..18cb034 100644 --- a/source/gl_rmain.c +++ b/source/gl_rmain.c @@ -990,15 +990,15 @@ void R_SetupGL (void) // set drawing parms // if (gl_cull->value) - glEnable(GL_CULL_FACE); + glEnable (GL_CULL_FACE); else - glDisable(GL_CULL_FACE); + glDisable (GL_CULL_FACE); - glEnable(GL_BLEND); - glDisable(GL_ALPHA_TEST); - glAlphaFunc(GL_GREATER, 0.5); - glEnable(GL_DEPTH_TEST); - glShadeModel(GL_SMOOTH); + glEnable (GL_BLEND); + glDisable (GL_ALPHA_TEST); + glAlphaFunc (GL_GREATER, 0.5); + glEnable (GL_DEPTH_TEST); + glShadeModel (GL_SMOOTH); } /* diff --git a/source/gl_rsurf.c b/source/gl_rsurf.c index 4cc4953..60c0ebf 100644 --- a/source/gl_rsurf.c +++ b/source/gl_rsurf.c @@ -509,7 +509,7 @@ void R_DrawSequentialPoly (msurface_t *s) theRect->h = 0; theRect->w = 0; } - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_BLEND); + glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); glBegin (GL_TRIANGLE_FAN); v = p->verts[0]; for (i=0 ; inumverts ; i++, v+= VERTEXSIZE)