projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180ccff
)
softpipe: Silence unintialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 02:06:02 +0000
(18:06 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 02:06:02 +0000
(18:06 -0800)
src/gallium/drivers/softpipe/sp_quad_blend.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_quad_blend.c
b/src/gallium/drivers/softpipe/sp_quad_blend.c
index fe6b6cec3533d1d4004e53eb25d481e222a01668..d9babe81dad5d165e10a19fafabd412ad654ae86 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_quad_blend.c
+++ b/
src/gallium/drivers/softpipe/sp_quad_blend.c
@@
-229,7
+229,7
@@
blend_quad(struct quad_stage *qs,
static const float zero[4] = { 0, 0, 0, 0 };
static const float one[4] = { 1, 1, 1, 1 };
struct softpipe_context *softpipe = qs->softpipe;
- float source[4][QUAD_SIZE];
+ float source[4][QUAD_SIZE]
= { { 0 } }
;
/*
* Compute src/first term RGB