summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/yuzu/debugger/graphics/graphics_surface.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp
index 7ea08c23f..1e4844b57 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;