Fixing a bug - this one was breaking DP_ENT_ALPHA

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@88 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-08-31 09:22:12 +00:00
parent ac202273b7
commit 823b950751

View file

@ -279,7 +279,7 @@ static void Mesh_SetShaderpassState ( shaderpass_t *pass, qboolean mtex )
}
else
{
glDisable (GL_BLEND);
// glDisable (GL_BLEND);
}
if (pass->flags & SHADER_PASS_ALPHAFUNC)
@ -430,6 +430,7 @@ void GL_DrawMesh(mesh_t *mesh, shader_t *shader, int texturenum, int lmtexturenu
glDisableClientState( GL_VERTEX_ARRAY );
glDisableClientState( GL_COLOR_ARRAY );
glDisableClientState( GL_NORMAL_ARRAY );
glDisableClientState( GL_NORMAL_ARRAY );
/* //show normals
if (mesh->normals_array)