mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Vulkan: Fix map error when texture dumping is enabled
This commit is contained in:
parent
4c860ddb70
commit
2ef884893a
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ bool TextureCache::TCacheEntry::Save(const std::string& filename, unsigned int l
|
||||||
Util::ExecuteCurrentCommandsAndRestoreState(false, true);
|
Util::ExecuteCurrentCommandsAndRestoreState(false, true);
|
||||||
|
|
||||||
// Map the staging texture so we can copy the contents out.
|
// Map the staging texture so we can copy the contents out.
|
||||||
if (staging_texture->Map())
|
if (!staging_texture->Map())
|
||||||
{
|
{
|
||||||
PanicAlert("Failed to map staging texture");
|
PanicAlert("Failed to map staging texture");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue