From 17e65a7167caaf9d55ae7ea0141c298d02689ea2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 27 Dec 2016 16:32:32 +0100 Subject: VideoCommon: Replace SOIL with libpng for hires textures --- Source/Core/VideoCommon/TextureCacheBase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp') 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 -- cgit v1.2.3