video_core/surface: Add missing break in PixelFormatFromTextureFormat()
Prevents fallthrough into the following case.
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user