diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-10-15 23:08:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 23:08:34 -0300 |
commit | 60315060b189e291e78ce190473f267208202593 (patch) | |
tree | b582580d9a5466b82b33564482cde95cf17c9b2f /src/video_core/surface.cpp | |
parent | 14f3cebcd43689915e0e46d6077032947eedc6a5 (diff) | |
parent | cf9e13c255a37bda889a88660e3b00923abbcf47 (diff) |
Merge pull request #2984 from lioncash/fallthrough2
video_core/surface: Add missing break in PixelFormatFromTextureFormat()
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r-- | src/video_core/surface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 250afc6d6..ef6b3592e 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -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: |