diff options
| author | bunnei <bunneidev@gmail.com> | 2018-03-26 21:02:31 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-03-26 21:17:05 -0400 |
| commit | 9415aeb48fb51da6323a6b580b06c6c24238994b (patch) | |
| tree | 0e98a811245485dd04f03162f6aa7e1f8c9274e0 /src/yuzu/debugger/graphics/graphics_surface.cpp | |
| parent | 12a6c7b11b0a521c1ddc699ede75def3a81cfe5c (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.cpp | 3 |
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; |
