fix mingl

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3959 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-01-18 04:15:16 +00:00
parent fceb77d3cb
commit 1cb10f78d6

View file

@ -4522,9 +4522,10 @@ done:;
{
if ((pass->texgen == T_GEN_ANIMMAP || pass->texgen == T_GEN_SINGLEMAP) && !TEXVALID(s->defaulttextures.base))
s->defaulttextures.base = pass->anim_frames[0];
#ifndef NOMEDIA
if (pass->texgen == T_GEN_VIDEOMAP && pass->cin && !TEXVALID(s->defaulttextures.base))
s->defaulttextures.base = Media_UpdateForShader(pass->cin);
#endif
}
pass = s->passes;