summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-20 09:17:12 -0700
committerBrian Paul <brianp@vmware.com>2009-01-20 09:17:12 -0700
commiteb26cc6cf5ba0b8ff4c7d85da8f421839691186a (patch)
tree87c0ace5fd10e6b4d9313b54f150c688482b710a /src
parentbb63a663b1a3a3a3f27ebc8b1a678c3bc7cc4a69 (diff)
mesa: silence compiler warning at -O2
Diffstat (limited to 'src')
-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 760dac2399..7c2b747c43 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);