Fix C90 error from NOHW

This commit is contained in:
James R 2019-12-14 13:30:10 -08:00
parent 7f092b884b
commit c1d54007e4
1 changed files with 2 additions and 2 deletions

View File

@ -1516,8 +1516,8 @@ void *W_CachePatchNumPwad(UINT16 wad, UINT16 lump, INT32 tag)
#ifdef HWRENDER
// Software-only compile cache the data without conversion
if (rendermode == render_soft || rendermode == render_none)
{
#endif
{
lumpcache_t *lumpcache = wadfiles[wad]->patchcache;
if (!lumpcache[lump])
{
@ -1551,8 +1551,8 @@ void *W_CachePatchNumPwad(UINT16 wad, UINT16 lump, INT32 tag)
Z_ChangeTag(lumpcache[lump], tag);
return lumpcache[lump];
#ifdef HWRENDER
}
#ifdef HWRENDER
grPatch = HWR_GetCachedGLPatchPwad(wad, lump);