diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-27 03:02:31 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:17:05 +0200 |
commit | d8f745382b64d6adefec666489ab008090842a9d (patch) | |
tree | 0e98a811245485dd04f03162f6aa7e1f8c9274e0 | |
parent | gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function. (diff) | |
download | yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.gz yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.bz2 yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.lz yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.xz yuzu-d8f745382b64d6adefec666489ab008090842a9d.tar.zst yuzu-d8f745382b64d6adefec666489ab008090842a9d.zip |
-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() { 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; |