Merge pull request #4489 from stenzek/vulkan-minor-fixes

Vulkan: Minor fixes
This commit is contained in:
Stenzek authored and GitHub committed 2016-12-05 12:19:49 +10:00
commit bff394ec8a
6 files changed
+56 -32

No files matched your search

@@ -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;