aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-20 09:17:12 -0700
committerBrian Paul <[email protected]>2009-01-20 09:17:12 -0700
commiteb26cc6cf5ba0b8ff4c7d85da8f421839691186a (patch)
tree87c0ace5fd10e6b4d9313b54f150c688482b710a
parentbb63a663b1a3a3a3f27ebc8b1a678c3bc7cc4a69 (diff)
mesa: silence compiler warning at -O2
-rw-r--r--src/mesa/shader/arbprogram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/shader/arbprogram.c
index 760dac23993..7c2b747c43b 100644
--- a/src/mesa/shader/arbprogram.c
+++ b/src/mesa/shader/arbprogram.c
@@ -807,6 +807,7 @@ _mesa_GetProgramLocalParameterdvARB(GLenum target, GLuint index,
{
GET_CURRENT_CONTEXT(ctx);
GLfloat floatParams[4];
+ ASSIGN_4V(floatParams, 0.0F, 0.0F, 0.0F, 0.0F);
_mesa_GetProgramLocalParameterfvARB(target, index, floatParams);
if (ctx->ErrorValue == GL_NO_ERROR) {
COPY_4V(params, floatParams);