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
parent
commit
60315060b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/video_core/surface.cpp

1
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:

Loading…
Cancel
Save