|
|
@ -480,11 +480,15 @@ void BlitScreen::RefreshResources(const Tegra::FramebufferConfig& framebuffer) {
|
|
|
|
fsr.reset();
|
|
|
|
fsr.reset();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (framebuffer.width == raw_width && framebuffer.height == raw_height && !raw_images.empty()) {
|
|
|
|
if (framebuffer.width == raw_width && framebuffer.height == raw_height &&
|
|
|
|
|
|
|
|
framebuffer.pixel_format == pixel_format && !raw_images.empty()) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
raw_width = framebuffer.width;
|
|
|
|
raw_width = framebuffer.width;
|
|
|
|
raw_height = framebuffer.height;
|
|
|
|
raw_height = framebuffer.height;
|
|
|
|
|
|
|
|
pixel_format = framebuffer.pixel_format;
|
|
|
|
|
|
|
|
|
|
|
|
ReleaseRawImages();
|
|
|
|
ReleaseRawImages();
|
|
|
|
|
|
|
|
|
|
|
|
CreateStagingBuffer(framebuffer);
|
|
|
|
CreateStagingBuffer(framebuffer);
|
|
|
|