From d8f745382b64d6adefec666489ab008090842a9d Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 26 Mar 2018 21:02:31 -0400 Subject: [PATCH] graphics_surface: Remove superfluous cast. --- src/yuzu/debugger/graphics/graphics_surface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index 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(rt.format)); + surface_format = ConvertToTextureFormat(rt.format); } break;