mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Fix C90 error from NOHW
This commit is contained in:
parent
b776352e8e
commit
4be9f8eff7
1 changed files with 2 additions and 2 deletions
|
|
@ -1516,8 +1516,8 @@ void *W_CachePatchNumPwad(UINT16 wad, UINT16 lump, INT32 tag)
|
||||||
#ifdef HWRENDER
|
#ifdef HWRENDER
|
||||||
// Software-only compile cache the data without conversion
|
// Software-only compile cache the data without conversion
|
||||||
if (rendermode == render_soft || rendermode == render_none)
|
if (rendermode == render_soft || rendermode == render_none)
|
||||||
{
|
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
lumpcache_t *lumpcache = wadfiles[wad]->patchcache;
|
lumpcache_t *lumpcache = wadfiles[wad]->patchcache;
|
||||||
if (!lumpcache[lump])
|
if (!lumpcache[lump])
|
||||||
{
|
{
|
||||||
|
|
@ -1551,8 +1551,8 @@ void *W_CachePatchNumPwad(UINT16 wad, UINT16 lump, INT32 tag)
|
||||||
Z_ChangeTag(lumpcache[lump], tag);
|
Z_ChangeTag(lumpcache[lump], tag);
|
||||||
|
|
||||||
return lumpcache[lump];
|
return lumpcache[lump];
|
||||||
#ifdef HWRENDER
|
|
||||||
}
|
}
|
||||||
|
#ifdef HWRENDER
|
||||||
|
|
||||||
grPatch = HWR_GetCachedGLPatchPwad(wad, lump);
|
grPatch = HWR_GetCachedGLPatchPwad(wad, lump);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue