summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-03-26 21:02:31 -0400
committerGravatar bunnei2018-03-26 21:17:05 -0400
commitd8f745382b64d6adefec666489ab008090842a9d (patch)
tree0e98a811245485dd04f03162f6aa7e1f8c9274e0 /src
parentgl_rasterizer: Move code to bind framebuffer surfaces before draw to its own ... (diff)
downloadyuzu-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.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() {
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;