mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00: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_width = rt.width;
|
||||||
surface_height = rt.height;
|
surface_height = rt.height;
|
||||||
if (rt.format != Tegra::RenderTargetFormat::NONE) {
|
if (rt.format != Tegra::RenderTargetFormat::NONE) {
|
||||||
surface_format =
|
surface_format = ConvertToTextureFormat(rt.format);
|
||||||
ConvertToTextureFormat(static_cast<Tegra::RenderTargetFormat>(rt.format));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue