diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 755aad643..58c69b786 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp | |||
| @@ -548,8 +548,6 @@ bool RasterizerVulkan::AccelerateDisplay(const Tegra::FramebufferConfig& config, | |||
| 548 | 548 | ||
| 549 | // Verify that the cached surface is the same size and format as the requested framebuffer | 549 | // Verify that the cached surface is the same size and format as the requested framebuffer |
| 550 | const auto& params{surface->GetSurfaceParams()}; | 550 | const auto& params{surface->GetSurfaceParams()}; |
| 551 | const auto& pixel_format{ | ||
| 552 | VideoCore::Surface::PixelFormatFromGPUPixelFormat(config.pixel_format)}; | ||
| 553 | ASSERT_MSG(params.width == config.width, "Framebuffer width is different"); | 551 | ASSERT_MSG(params.width == config.width, "Framebuffer width is different"); |
| 554 | ASSERT_MSG(params.height == config.height, "Framebuffer height is different"); | 552 | ASSERT_MSG(params.height == config.height, "Framebuffer height is different"); |
| 555 | 553 | ||