mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
AbstractTexture: Support multisampled abstract texture
This commit is contained in:
parent
4316f5f56b
commit
6374a4c4a8
19 changed files with 209 additions and 91 deletions
|
@ -29,7 +29,7 @@ bool AbstractTexture::Save(const std::string& filename, unsigned int level)
|
|||
|
||||
// Use a temporary staging texture for the download. Certainly not optimal,
|
||||
// but this is not a frequently-executed code path..
|
||||
TextureConfig readback_texture_config(level_width, level_height, 1, 1,
|
||||
TextureConfig readback_texture_config(level_width, level_height, 1, 1, 1,
|
||||
AbstractTextureFormat::RGBA8, false);
|
||||
auto readback_texture =
|
||||
g_renderer->CreateStagingTexture(StagingTextureType::Readback, readback_texture_config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue