AbstractTexture: Drop slow map readback path
This commit is contained in:
1 parent
193763ca3a
commit
db1d9de933
10 files changed
-300
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user