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/TextureCacheBase.h | |
| 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/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 7c8b74fb5e..0271677962 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -346,11 +346,10 @@ private: void SetBackupConfig(const VideoConfig& config); - RcTcacheEntry - CreateTextureEntry(const TextureCreationInfo& creation_info, const TextureInfo& texture_info, - int safety_color_sample_size, - std::vector<std::shared_ptr<VideoCommon::CustomTextureData>> assets_data, - bool custom_arbitrary_mipmaps, bool skip_texture_dump); + RcTcacheEntry CreateTextureEntry(const TextureCreationInfo& creation_info, + const TextureInfo& texture_info, int safety_color_sample_size, + std::vector<VideoCommon::CustomTextureData*> assets_data, + bool custom_arbitrary_mipmaps, bool skip_texture_dump); RcTcacheEntry GetXFBFromCache(u32 address, u32 width, u32 height, u32 stride); |
