Show shadow patch cache message in software
This commit is contained in:
parent
84538f06b0
commit
c6167030f0
2 changed files with 2 additions and 1 deletions
|
|
@ -3165,7 +3165,7 @@ static void HWR_DrawDropShadow(mobj_t *thing, fixed_t scale)
|
|||
|
||||
if (!shadowpatch || !shadowpatch->hardware)
|
||||
{
|
||||
CONS_Debug(DBG_RENDER, "remaking shadowsprite\n");
|
||||
CONS_Debug(DBG_RENDER, "Recaching shadow patch\n");
|
||||
shadowpatch = (patch_t *)W_CachePatchName("DSHADOW", PU_SPRITE);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1501,6 +1501,7 @@ static void R_ProjectDropShadow(
|
|||
|
||||
if (shadowpatch == NULL)
|
||||
{
|
||||
CONS_Debug(DBG_RENDER, "Recaching shadow patch\n");
|
||||
shadowpatch = static_cast<patch_t*>(W_CachePatchName("DSHADOW", PU_SPRITE));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue