mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Cleanup download process a bit more.
This commit is contained in:
1 parent
4176ee241f
commit
a6c64f74d1
6 files changed
+85
-73
No files matched your search
@@ -768,6 +768,16 @@ VirtualFramebuffer *FramebufferManagerCommon::FindDownloadTempBuffer(VirtualFram
|
||||
nvfb->drawnWidth = vfb->drawnWidth;
|
||||
nvfb->drawnHeight = vfb->drawnHeight;
|
||||
nvfb->drawnFormat = vfb->format;
|
||||
nvfb->colorDepth = vfb->colorDepth;
|
||||
|
||||
if (!CreateDownloadTempBuffer(nvfb)) {
|
||||
delete nvfb;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bvfbs_.push_back(nvfb);
|
||||
} else {
|
||||
UpdateDownloadTempBuffer(nvfb);
|
||||
}
|
||||
|
||||
nvfb->usageFlags |= FB_USAGE_RENDERTARGET;
|
||||
|
||||
Reference in new issue
Block a user