diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-10-10 17:11:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-10 17:11:03 +0200 |
| commit | a2f21da87723adfa09c8a733c2245975dbd78793 (patch) | |
| tree | 68b2ea7ddcff5beda8c1b3f02ef55e3d8e5e369d /Source/Core/VideoCommon/HiresTextures.cpp | |
| parent | 1b7a590b4bb7d34152178e4768d453b40a4118ff (diff) | |
| parent | 0e8f8ea930d4b635fd7287f572dc2911996638bf (diff) | |
Merge pull request #12167 from iwubcode/use_texture_data_for_texture_assets
VideoCommon: use 'TextureData' for texture assets to support texture metadata
Diffstat (limited to 'Source/Core/VideoCommon/HiresTextures.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 6a489973a5..2f5fd93709 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -130,8 +130,8 @@ void HiresTexture::Update() { // Since this is just a texture (single file) the mapper doesn't really matter // just provide a string - s_file_library->SetAssetIDMapData( - filename, std::map<std::string, std::filesystem::path>{{"", StringToPath(path)}}); + s_file_library->SetAssetIDMapData(filename, std::map<std::string, std::filesystem::path>{ + {"texture", StringToPath(path)}}); if (g_ActiveConfig.bCacheHiresTextures) { |
