summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWTexture.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-11-19 17:46:00 +1000
committerStenzek <stenzek@gmail.com>2017-11-22 18:49:33 +1000
commitdb1d9de933a914ff0c35a179d3ba1112fb0bcab1 (patch)
treee1f7be8dc4d4b8f48f50a82ad81ad7f95076ea66 /Source/Core/VideoBackends/Software/SWTexture.cpp
parent193763ca3ab62086c5a2f09870ffdc84cbd8ee00 (diff)
AbstractTexture: Drop slow map readback path
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWTexture.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWTexture.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/SWTexture.cpp b/Source/Core/VideoBackends/Software/SWTexture.cpp
index db9b56020a..13d2828fe9 100644
--- a/Source/Core/VideoBackends/Software/SWTexture.cpp
+++ b/Source/Core/VideoBackends/Software/SWTexture.cpp
@@ -107,12 +107,6 @@ u8* SWTexture::GetData()
return m_data.data();
}
-std::optional<AbstractTexture::RawTextureInfo> SWTexture::MapFullImpl()
-{
- return AbstractTexture::RawTextureInfo{GetData(), m_config.width * 4, m_config.width,
- m_config.height};
-}
-
SWStagingTexture::SWStagingTexture(StagingTextureType type, const TextureConfig& config)
: AbstractStagingTexture(type, config)
{