Coverity: Remove dead case in switch, default to solid

This commit is contained in:
baldurk
2016-06-22 13:32:12 +01:00
parent c33a6f0826
commit a5cab75095
+1 -2
View File
@@ -1818,11 +1818,10 @@ void VulkanReplay::RenderMesh(uint32_t eventID, const vector<MeshFormat> &second
VkPipeline pipe = VK_NULL_HANDLE;
switch(solidShadeMode)
{
default:
case eShade_Solid: pipe = cache.pipes[MeshDisplayPipelines::ePipe_SolidDepth]; break;
case eShade_Lit: pipe = cache.pipes[MeshDisplayPipelines::ePipe_Lit]; break;
case eShade_Secondary: pipe = cache.pipes[MeshDisplayPipelines::ePipe_Secondary]; break;
case eShade_None:
case eShade_Count: break;
}
uint32_t uboOffs = 0;