renderer_vulkan: redundant VO surface registration removed
This commit is contained in:
parent
9982f1be6f
commit
5b909c659d
|
@ -40,7 +40,8 @@ public:
|
||||||
|
|
||||||
Frame* PrepareFrame(const Libraries::VideoOut::BufferAttributeGroup& attribute,
|
Frame* PrepareFrame(const Libraries::VideoOut::BufferAttributeGroup& attribute,
|
||||||
VAddr cpu_address) {
|
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);
|
return PrepareFrameInternal(image);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue