Remove some outdated debugging code (SetDebugTexture)

This commit is contained in:
Henrik Rydgård 2020-09-13 12:18:38 +02:00
parent 3dff9781fc
commit 5d5e5fe6ff
2 changed files with 0 additions and 50 deletions

View file

@ -296,14 +296,6 @@ void TextureCacheCommon::UpdateMaxSeenV(TexCacheEntry *entry, bool throughMode)
}
TexCacheEntry *TextureCacheCommon::SetTexture(bool force) {
#ifdef DEBUG_TEXTURES
if (SetDebugTexture()) {
// A different texture was bound, let's rebind next time.
InvalidateLastTexture();
return;
}
#endif
if (force) {
InvalidateLastTexture();
}