|
|
|
@ -480,11 +480,15 @@ void BlitScreen::RefreshResources(const Tegra::FramebufferConfig& framebuffer) {
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
raw_width = framebuffer.width;
|
|
|
|
|
raw_height = framebuffer.height;
|
|
|
|
|
pixel_format = framebuffer.pixel_format;
|
|
|
|
|
|
|
|
|
|
ReleaseRawImages();
|
|
|
|
|
|
|
|
|
|
CreateStagingBuffer(framebuffer);
|
|
|
|
|