From 0e8f8ea930d4b635fd7287f572dc2911996638bf Mon Sep 17 00:00:00 2001 From: iwubcode Date: Wed, 6 Sep 2023 00:16:26 -0500 Subject: VideoCommon: instead of using 'CustomTextureData' directly, use 'TextureData' for texture assets, this allows us to provide additional metadata for textures. Such as a sampler or type information (to distinguish cube maps) --- Source/Core/VideoCommon/HiresTextures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/HiresTextures.cpp') 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{{"", StringToPath(path)}}); + s_file_library->SetAssetIDMapData(filename, std::map{ + {"texture", StringToPath(path)}}); if (g_ActiveConfig.bCacheHiresTextures) { -- cgit v1.2.3