VERY experimental Nintendo Switch 2 emulator
C++
graphics_surface: Remove superfluous cast.
bunnei9415aeb48fb5
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cppindex 7ea08c23fc..1e4844b578 100644--- a/src/yuzu/debugger/graphics/graphics_surface.cpp+++ b/src/yuzu/debugger/graphics/graphics_surface.cpp@@ -342,8 +342,7 @@ void GraphicsSurfaceWidget::OnUpdate() {surface_width = rt.width;surface_height = rt.height;if (rt.format != Tegra::RenderTargetFormat::NONE) {- surface_format =- ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format));+ surface_format = ConvertToTextureFormat(rt.format);}break;