aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/graphics/graphics_surface.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-26 21:02:31 -0400
committerbunnei <bunneidev@gmail.com>2018-03-26 21:17:05 -0400
commit9415aeb48fb51da6323a6b580b06c6c24238994b (patch)
tree0e98a811245485dd04f03162f6aa7e1f8c9274e0 /src/yuzu/debugger/graphics/graphics_surface.cpp
parent12a6c7b11b0a521c1ddc699ede75def3a81cfe5c (diff)
graphics_surface: Remove superfluous cast.
Diffstat (limited to 'src/yuzu/debugger/graphics/graphics_surface.cpp')
-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 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;