Centralize ClearCacheNextFrame

This commit is contained in:
Henrik Rydgård committed 2022-11-21 18:13:13 +01:00
1 parent cf44adbf5d
commit cbfa4bfc8e
13 files changed
+1 -30

No files matched your search

+1 -4
View File
@@ -1200,6 +1200,7 @@ bool TextureCacheCommon::GetCurrentFramebufferTextureDebug(GPUDebugBuffer &buffe
}
void TextureCacheCommon::NotifyConfigChanged() {
clearCacheNextFrame_ = true;
int scaleFactor = g_Config.iTexScalingLevel;
if (!gstate_c.Use(GPU_USE_TEXTURE_NPOT)) {
@@ -2554,10 +2555,6 @@ void TextureCacheCommon::InvalidateAll(GPUInvalidationType /*unused*/) {
}
}
void TextureCacheCommon::ClearNextFrame() {
clearCacheNextFrame_ = true;
}
std::string AttachCandidate::ToString() const {
return StringFromFormat("[%s seq:%d rel:%d C:%08x/%d(%s) Z:%08x/%d X:%d Y:%d reint: %s]",
this->channel == RASTER_COLOR ? "COLOR" : "DEPTH",