mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix warnings when building with POLYMER=0.
git-svn-id: https://svn.eduke32.com/eduke32@1809 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
619d3c8c9e
commit
fedab48ad2
2 changed files with 6 additions and 1 deletions
|
@ -7231,7 +7231,9 @@ int32_t loadboard(char *filename, char flags, int32_t *daposx, int32_t *daposy,
|
||||||
int16_t *daang, int16_t *dacursectnum)
|
int16_t *daang, int16_t *dacursectnum)
|
||||||
{
|
{
|
||||||
int16_t fil, i, numsprites, dq[MAXSPRITES], dnum = 0;
|
int16_t fil, i, numsprites, dq[MAXSPRITES], dnum = 0;
|
||||||
|
#ifdef POLYMER
|
||||||
char myflags = flags&(~3);
|
char myflags = flags&(~3);
|
||||||
|
#endif
|
||||||
|
|
||||||
flags &= 3;
|
flags &= 3;
|
||||||
|
|
||||||
|
|
|
@ -1813,8 +1813,11 @@ int md3postload_polymer(md3model_t *m)
|
||||||
surfi++;
|
surfi++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
#else
|
||||||
|
UNREFERENCED_PARAMETER(m);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue