mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 21:20:33 +00:00
[vulkan] Fix an uninitialized variable warning
semi-bogus, but I prefer false positives to false negatives.
This commit is contained in:
parent
5ca792c40e
commit
758a44a946
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue