Browse Source

graphics_surface: Remove superfluous cast.

pull/15/merge
bunnei 8 years ago
parent
commit
d8f745382b
  1. 3
      src/yuzu/debugger/graphics/graphics_surface.cpp

3
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;

Loading…
Cancel
Save