summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-01-21 15:03:06 +1000
committerStenzek <stenzek@gmail.com>2018-03-01 17:31:24 +1000
commit6374a4c4a80e88eea2e5914fb84e393c91ec65af (patch)
treefcff01f0220c40ef2c594695272b181635bdf894 /Source/Core/VideoCommon/AbstractTexture.cpp
parent4316f5f56b9f3fdba89a52224a058b0fcd8b8c55 (diff)
AbstractTexture: Support multisampled abstract texture
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.cpp b/Source/Core/VideoCommon/AbstractTexture.cpp
index e4a42ad62b..98872f5c59 100644
--- a/Source/Core/VideoCommon/AbstractTexture.cpp
+++ b/Source/Core/VideoCommon/AbstractTexture.cpp
@@ -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);