mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Merge pull request #4489 from stenzek/vulkan-minor-fixes
Vulkan: Minor fixes
This commit is contained in:
commit
bff394ec8a
6 changed files with 56 additions and 32 deletions
|
@ -556,7 +556,7 @@ bool TextureCache::TCacheEntry::Save(const std::string& filename, unsigned int l
|
|||
Util::ExecuteCurrentCommandsAndRestoreState(false, true);
|
||||
|
||||
// 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");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue