mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- print a developer warning if the texture manager had to resolve a circular reference.
This commit is contained in:
parent
28fefdabc7
commit
5309209039
1 changed files with 5 additions and 0 deletions
|
@ -1338,6 +1338,11 @@ void FMultiPatchTexture::ResolvePatches()
|
||||||
if (Inits[i].HasLine) Inits[i].sc.Message(MSG_WARNING, "Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
|
if (Inits[i].HasLine) Inits[i].sc.Message(MSG_WARNING, "Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
|
||||||
else Printf(TEXTCOLOR_YELLOW "Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
|
else Printf(TEXTCOLOR_YELLOW "Texture '%s' references itself as patch\n", Inits[i].TexName.GetChars());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// If it could be resolved, just print a developer warning.
|
||||||
|
DPrintf(DMSG_WARNING, "Resolved self-referencing texture by picking an older entry for %s", Inits[i].TexName.GetChars());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!texno.isValid())
|
if (!texno.isValid())
|
||||||
|
|
Loading…
Reference in a new issue