mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
ac202273b7
commit
823b950751
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue