Merge pull request #2984 from lioncash/fallthrough2

video_core/surface: Add missing break in PixelFormatFromTextureFormat()
This commit is contained in:
Rodrigo Locatti 2019-10-15 23:08:34 -03:00 committed by GitHub
commit 60315060b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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