projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbdce27
)
r300g: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Sun, 31 Jan 2010 06:50:35 +0000
(22:50 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 31 Jan 2010 06:50:35 +0000
(22:50 -0800)
src/gallium/drivers/r300/r300_render.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_render.c
b/src/gallium/drivers/r300/r300_render.c
index 95b7cb5fa49d1a4ee6e2e92f38107aeeb0cb94b3..38636dc8e449d277108bd1d6e1a9e5d5682a8424 100644
(file)
--- a/
src/gallium/drivers/r300/r300_render.c
+++ b/
src/gallium/drivers/r300/r300_render.c
@@
-142,7
+142,7
@@
static void r300_emit_draw_arrays_immediate(struct r300_context *r300,
/* Stride to the same attrib in the next vertex in the vertex buffer,
* in dwords. */
- unsigned stride[PIPE_MAX_ATTRIBS];
+ unsigned stride[PIPE_MAX_ATTRIBS]
= {0}
;
/* Mapped vertex buffers. */
uint32_t* map[PIPE_MAX_ATTRIBS] = {0};