rtlight fix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3748 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2011-03-05 12:39:35 +00:00
parent 8200c8ebe5
commit 417e55254c
1 changed files with 1 additions and 1 deletions

View File

@ -1397,7 +1397,7 @@ static void Shader_SLProgramName (shader_t *shader, shaderpass_t *pass, char **p
*ptr = end+1;/*skip over it all*/
shader->prog = malloc(sizeof(*shader->prog));
memset(shader->prog, 0, sizeof(shader->prog));
memset(shader->prog, 0, sizeof(*shader->prog));
shader->prog->refs = 1;
Shader_LoadPermutations(shader->prog, programbody, qrtype);