Fix USE_OPENGL=0 build; squelch one warning.

git-svn-id: https://svn.eduke32.com/eduke32@2287 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-01-27 15:03:02 +00:00
parent a6158ac3f6
commit de2cbbfb47
2 changed files with 2 additions and 2 deletions

View file

@ -1335,6 +1335,7 @@ static int32_t defsparser(scriptfile *script)
}
}
#ifdef USE_OPENGL
if (!model_ok)
{
if (lastmodelid >= 0)
@ -1346,7 +1347,6 @@ static int32_t defsparser(scriptfile *script)
break;
}
#ifdef USE_OPENGL
md_setmisc(lastmodelid,(float)scale,shadeoffs,(float)mzadd,(float)myoffset,flags);
// thin out the loaded model by throwing away unused frames

View file

@ -2099,8 +2099,8 @@ static inline int32_t getclipmask(int32_t a, int32_t b, int32_t c, int32_t d)
inline int32_t getkensmessagecrc(int32_t b)
{
UNREFERENCED_PARAMETER(b);
return 0x56c764d4l;
b=b;
}
#endif