mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 10:27:33 +01:00
graphics_surface: Remove superfluous cast.
This commit is contained in:
parent
c33abac275
commit
d8f745382b
@ -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…
Reference in New Issue
Block a user