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
View File
@@ -629,7 +629,6 @@ void GPUCommon::NotifyDisplayResized() {
// if "transparent".
void GPUCommon::CheckConfigChanged() {
if (configChanged_) {
ClearCacheNextFrame();
gstate_c.useFlags = CheckGPUFeatures();
drawEngineCommon_->NotifyConfigChanged();
shaderManager_->DirtyLastShader(); // Don't think this is needed, at all.