diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-05-20 14:16:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-20 14:16:31 +0200 |
| commit | 86c676ab0483dc53b3b08cb327816388d278a600 (patch) | |
| tree | 808df4a85d3193c74e428fef21572855eb3ebf43 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 0706add5840edcc7faeca538dafcd4f56cee7940 (diff) | |
| parent | 10ff6d73c20b968b33ed669b2ce4f447c668cde8 (diff) | |
Merge pull request #6291 from JosJuice/remove-soil
Replace usage of SOIL with libpng
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index e68b408cff..48518911bd 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -957,8 +957,8 @@ TextureCacheBase::GetTexture(u32 address, u32 width, u32 height, const TextureFo if (hires_tex) { const auto& level = hires_tex->m_levels[0]; - entry->texture->Load(0, level.width, level.height, level.row_length, level.data.get(), - level.data_size); + entry->texture->Load(0, level.width, level.height, level.row_length, level.data.data(), + level.data.size()); } // Initialized to null because only software loading uses this buffer @@ -1042,7 +1042,7 @@ TextureCacheBase::GetTexture(u32 address, u32 width, u32 height, const TextureFo { const auto& level = hires_tex->m_levels[level_index]; entry->texture->Load(level_index, level.width, level.height, level.row_length, - level.data.get(), level.data_size); + level.data.data(), level.data.size()); } } else |
