Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

video_core/surface: Add missing break in PixelFormatFromTextureFormat()

Lioncashe08002310a78
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 250afc6d6a..ef6b3592e1 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: