diff options
| author | 2018-03-26 21:02:31 -0400 | |
|---|---|---|
| committer | 2018-03-26 21:17:05 -0400 | |
| commit | d8f745382b64d6adefec666489ab008090842a9d (patch) | |
| tree | 0e98a811245485dd04f03162f6aa7e1f8c9274e0 /src | |
| parent | gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own ... (diff) | |
| download | yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.gz yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.xz yuzu-d8f745382b64d6adefec666489ab008090842a9d.zip | |
graphics_surface: Remove superfluous cast.
Diffstat (limited to 'src')
| -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 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() { | |||
| 342 | surface_width = rt.width; | 342 | surface_width = rt.width; |
| 343 | surface_height = rt.height; | 343 | surface_height = rt.height; |
| 344 | if (rt.format != Tegra::RenderTargetFormat::NONE) { | 344 | if (rt.format != Tegra::RenderTargetFormat::NONE) { |
| 345 | surface_format = | 345 | surface_format = ConvertToTextureFormat(rt.format); |
| 346 | ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format)); | ||
| 347 | } | 346 | } |
| 348 | 347 | ||
| 349 | break; | 348 | break; |