mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Vulkan: Save textures using a memory copy.
This commit is contained in:
1 parent
cc119c923c
commit
34d0acac4e
2 files changed
+23
-10
No files matched your search
@@ -628,8 +628,7 @@ void TextureReplacer::NotifyTextureDecoded(const ReplacedTextureDecodeInfo &repl
|
||||
|
||||
SimpleBuf<u32> saveBuf;
|
||||
|
||||
// TODO: Move the color conversion to the thread as well.
|
||||
// Actually may be better to re-decode using expand32?
|
||||
// Since we're copying, change the format meanwhile. Not much extra cost.
|
||||
if (replacedInfo.fmt != ReplacedTextureFormat::F_8888) {
|
||||
saveBuf.resize((pitch * h) / sizeof(u16));
|
||||
switch (replacedInfo.fmt) {
|
||||
|
||||
Reference in new issue
Block a user