Просмотр исходного кода

vk_rasterizer: Remove unused variable

ReinUsesLisp 6 лет назад
Родитель
Сommit
fc51ece7bf
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/video_core/renderer_vulkan/vk_rasterizer.cpp

+ 0 - 2
src/video_core/renderer_vulkan/vk_rasterizer.cpp

@@ -548,8 +548,6 @@ bool RasterizerVulkan::AccelerateDisplay(const Tegra::FramebufferConfig& config,
 
     // Verify that the cached surface is the same size and format as the requested framebuffer
     const auto& params{surface->GetSurfaceParams()};
-    const auto& pixel_format{
-        VideoCore::Surface::PixelFormatFromGPUPixelFormat(config.pixel_format)};
     ASSERT_MSG(params.width == config.width, "Framebuffer width is different");
     ASSERT_MSG(params.height == config.height, "Framebuffer height is different");