InputCommon: When using dynamic input textures, only call force reload textures once for packs that have multiple configurations

This commit is contained in:
iwubcode 2021-02-02 23:04:33 -06:00
commit ce7db2e32b
3 changed files with 10 additions and 12 deletions

View file

@ -19,7 +19,7 @@ class DynamicInputTextureConfiguration
public:
explicit DynamicInputTextureConfiguration(const std::string& json_file);
~DynamicInputTextureConfiguration();
void GenerateTextures(const IniFile::Section* sec, const std::string& controller_name) const;
bool GenerateTextures(const IniFile::Section* sec, const std::string& controller_name) const;
private:
struct DynamicInputTextureData