mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-13 06:10:24 +02:00
Split out everying remaining from Swap
This commit is contained in:
1 parent
2a18b34a73
commit
0da69055d9
21 files changed
+182
-170
No files matched your search
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "InputCommon/DynamicInputTextures/DITConfiguration.h"
|
||||
#include "VideoCommon/HiresTextures.h"
|
||||
#include "VideoCommon/RenderBase.h"
|
||||
#include "VideoCommon/TextureCacheBase.h"
|
||||
|
||||
namespace InputCommon
|
||||
{
|
||||
@@ -48,7 +48,7 @@ void DynamicInputTextureManager::GenerateTextures(const IniFile& file,
|
||||
any_dirty |= configuration.GenerateTextures(file, controller_names);
|
||||
}
|
||||
|
||||
if (any_dirty && g_renderer && Core::GetState() != Core::State::Starting)
|
||||
g_renderer->ForceReloadTextures();
|
||||
if (any_dirty && g_texture_cache && Core::GetState() != Core::State::Starting)
|
||||
g_texture_cache->ForceReloadTextures();
|
||||
}
|
||||
} // namespace InputCommon
|
||||
Reference in new issue
Block a user