Browse Source
Merge pull request #2984 from lioncash/fallthrough2
video_core/surface: Add missing break in PixelFormatFromTextureFormat()
pull/15/merge
Rodrigo Locatti
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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: |
|
|
|
|