1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-01-28 18:46:55 -06:00

video_core/surface: Add missing break in PixelFormatFromTextureFormat()

Prevents fallthrough into the following case.
This commit is contained in:
Lioncash 2019-10-15 21:53:13 -04:00
parent ba0086e32d
commit cf9e13c255

View File

@ -252,6 +252,7 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
default:
break;
}
break;
case Tegra::Texture::TextureFormat::R32_G32_B32_A32:
switch (component_type) {
case Tegra::Texture::ComponentType::FLOAT: