summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-27 03:02:31 +0200
committerbunnei <bunneidev@gmail.com>2018-03-27 03:17:05 +0200
commitd8f745382b64d6adefec666489ab008090842a9d (patch)
tree0e98a811245485dd04f03162f6aa7e1f8c9274e0 /src
parentgl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function. (diff)
downloadyuzu-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
Diffstat (limited to '')
-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() {
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;