PU_HWRCACHE_UNLOCKED bmomento bróder

This commit is contained in:
Jaime Passos 2019-12-12 21:23:55 -03:00
parent 08d4a36f63
commit d80bfb4e94

View file

@ -397,7 +397,6 @@ static void md2_loadTexture(md2_t *model)
#endif #endif
} }
HWD.pfnSetTexture(grpatch->mipmap); HWD.pfnSetTexture(grpatch->mipmap);
HWR_UnlockCachedPatch(grpatch);
} }
// -----------------+ // -----------------+
@ -453,7 +452,6 @@ static void md2_loadBlendTexture(md2_t *model)
#endif #endif
} }
HWD.pfnSetTexture(grpatch->mipmap); // We do need to do this so that it can be cleared and knows to recreate it when necessary HWD.pfnSetTexture(grpatch->mipmap); // We do need to do this so that it can be cleared and knows to recreate it when necessary
HWR_UnlockCachedPatch(grpatch);
Z_Free(filename); Z_Free(filename);
} }