projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb63a66
)
mesa: silence compiler warning at -O2
author
Brian Paul
<brianp@vmware.com>
Tue, 20 Jan 2009 16:17:12 +0000
(09:17 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 20 Jan 2009 16:17:12 +0000
(09:17 -0700)
src/mesa/shader/arbprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogram.c
b/src/mesa/shader/arbprogram.c
index 760dac23993ed14f52001e894fed73798a1a31a7..7c2b747c43bc6dec1ae35a39fe7e38aad21da34e 100644
(file)
--- 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);