diff options
author | Brian Paul <brianp@vmware.com> | 2009-01-20 09:17:12 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-20 09:17:12 -0700 |
commit | eb26cc6cf5ba0b8ff4c7d85da8f421839691186a (patch) | |
tree | 87c0ace5fd10e6b4d9313b54f150c688482b710a /src | |
parent | bb63a663b1a3a3a3f27ebc8b1a678c3bc7cc4a69 (diff) |
mesa: silence compiler warning at -O2
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/arbprogram.c | 1 |
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); |