summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-13 13:44:31 -0600
committerBrian Paul <[email protected]>2009-08-13 13:44:31 -0600
commitf418d18ea6059c761f45f055c05fbd0bb50f7a80 (patch)
treeb4df9fb032128a187ff77089fcb6d9d86732bd5f /src/mesa/main/light.c
parenta531a5cf940a55d4438521fe394ae5395977bf3f (diff)
mesa: fix some potential uninitialized memory references
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r--src/mesa/main/light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index ac604fd12cc..17034680add 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -496,7 +496,7 @@ _mesa_LightModeliv( GLenum pname, const GLint *params )
break;
default:
/* Error will be caught later in gl_LightModelfv */
- ;
+ ASSIGN_4V(fparam, 0.0F, 0.0F, 0.0F, 0.0F);
}
_mesa_LightModelfv( pname, fparam );
}