fix mingl

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4121 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-10-08 05:30:46 +00:00
parent 3a6f3fd66c
commit c9d051b710

View file

@ -1014,7 +1014,9 @@ void R_GAlias_GenerateBatches(entity_t *e, batch_t **batches)
b->buildmeshes = R_GAlias_DrawBatch; b->buildmeshes = R_GAlias_DrawBatch;
b->ent = e; b->ent = e;
#ifdef Q3BSPS
b->fog = CM_FogForOrigin(e->origin); b->fog = CM_FogForOrigin(e->origin);
#endif
b->mesh = NULL; b->mesh = NULL;
b->firstmesh = 0; b->firstmesh = 0;
b->meshes = 1; b->meshes = 1;
@ -1863,7 +1865,9 @@ static void R_Sprite_GenerateBatch(entity_t *e, batch_t **batches, void (*drawfu
b->buildmeshes = drawfunc; b->buildmeshes = drawfunc;
b->ent = e; b->ent = e;
#ifdef Q3BSPS
b->fog = CM_FogForOrigin(e->origin); b->fog = CM_FogForOrigin(e->origin);
#endif
b->mesh = NULL; b->mesh = NULL;
b->firstmesh = 0; b->firstmesh = 0;
b->meshes = 1; b->meshes = 1;