mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 03:54:45 +00:00
renderer_vulkan: redundant VO surface registration removed
This commit is contained in:
parent
9982f1be6f
commit
5b909c659d
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ public:
|
|||
|
||||
Frame* PrepareFrame(const Libraries::VideoOut::BufferAttributeGroup& attribute,
|
||||
VAddr cpu_address) {
|
||||
auto& image = RegisterVideoOutSurface(attribute, cpu_address);
|
||||
const auto info = VideoCore::ImageInfo{attribute};
|
||||
auto& image = texture_cache.FindImage(info, cpu_address);
|
||||
return PrepareFrameInternal(image);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue