[vulkan] Fix an uninitialized variable warning

semi-bogus, but I prefer false positives to false negatives.
This commit is contained in:
Bill Currie 2021-06-01 19:09:03 +09:00
parent 5ca792c40e
commit 758a44a946

View file

@ -646,6 +646,7 @@ create_light_matrices (lightingctx_t *lctx)
mat4f_t proj; mat4f_t proj;
switch (light->data & ShadowMask) { switch (light->data & ShadowMask) {
default:
case ST_NONE: case ST_NONE:
case ST_CUBE: case ST_CUBE:
mat4fidentity (view); mat4fidentity (view);