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

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: