projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97329ef
)
vega: memset data array to zero to silence uninitialized var warnings
author
Brian Paul
<brianp@vmware.com>
Tue, 31 Jan 2012 14:01:29 +0000
(07:01 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 31 Jan 2012 14:01:29 +0000
(07:01 -0700)
src/gallium/state_trackers/vega/path.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/path.c
b/src/gallium/state_trackers/vega/path.c
index e62d1e322881dfdc371e9d3b842ef9b8568d4ba5..43755f44d5d809853306511df5c112b44bfe6d9c 100644
(file)
--- a/
src/gallium/state_trackers/vega/path.c
+++ b/
src/gallium/state_trackers/vega/path.c
@@
-367,6
+367,8
@@
static struct polygon_array * path_get_fill_polygons(struct path *p, struct matr
void *coords = (VGfloat *)p->control_points->data;
struct array *array;
+ memset(data, 0, sizeof(data));
+
if (p->fill_polys.polygon_array.array)
{
if (memcmp( &p->fill_polys.matrix,