Skip to content

Commit 6ad2144

Browse files
committed
material: fix a maybe uninitialized vec3 use
1 parent b1c59d4 commit 6ad2144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/Material.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ void MaterialSystem::RenderMaterial( Material& material, const uint32_t viewID )
20702070
break;
20712071
}
20722072
default:
2073-
break;
2073+
ASSERT_UNREACHABLE();
20742074
}
20752075

20762076
if ( material.shaderBinder == BindShaderLightMapping ) {

0 commit comments

Comments
 (0)