mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
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:
parent
a6158ac3f6
commit
de2cbbfb47
2 changed files with 2 additions and 2 deletions
|
@ -1335,6 +1335,7 @@ static int32_t defsparser(scriptfile *script)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_OPENGL
|
||||||
if (!model_ok)
|
if (!model_ok)
|
||||||
{
|
{
|
||||||
if (lastmodelid >= 0)
|
if (lastmodelid >= 0)
|
||||||
|
@ -1346,7 +1347,6 @@ static int32_t defsparser(scriptfile *script)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_OPENGL
|
|
||||||
md_setmisc(lastmodelid,(float)scale,shadeoffs,(float)mzadd,(float)myoffset,flags);
|
md_setmisc(lastmodelid,(float)scale,shadeoffs,(float)mzadd,(float)myoffset,flags);
|
||||||
|
|
||||||
// thin out the loaded model by throwing away unused frames
|
// thin out the loaded model by throwing away unused frames
|
||||||
|
|
|
@ -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)
|
inline int32_t getkensmessagecrc(int32_t b)
|
||||||
{
|
{
|
||||||
|
UNREFERENCED_PARAMETER(b);
|
||||||
return 0x56c764d4l;
|
return 0x56c764d4l;
|
||||||
b=b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue