mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-27 15:30:16 +00:00
video_core/surface: Add missing break in PixelFormatFromTextureFormat()
Prevents fallthrough into the following case.
This commit is contained in:
parent
ba0086e32d
commit
cf9e13c255
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue