mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 19:55:27 +02:00
Fix saving of textures
This commit is contained in:
@@ -614,7 +614,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
|
||||
VK_PROFILE_END(vulkan, cmdInit, VK_PIPELINE_STAGE_TRANSFER_BIT);
|
||||
}
|
||||
// Format might be wrong in lowMemoryMode_, so don't save.
|
||||
if (replacer_.Enabled() && plan.replaced->IsInvalid() && !lowMemoryMode_) {
|
||||
if (plan.saveTexture && !lowMemoryMode_) {
|
||||
// When hardware texture scaling is enabled, this saves the original.
|
||||
int w = dataScaled ? mipWidth : mipUnscaledWidth;
|
||||
int h = dataScaled ? mipHeight : mipUnscaledHeight;
|
||||
|
||||
Reference in New Issue
Block a user