aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-31 07:01:29 -0700
committerBrian Paul <[email protected]>2012-01-31 07:01:29 -0700
commit6386f80dbd6f1230abf16fa5ac65dc0dca70033a (patch)
tree8570b2de43e0659005a437e96e2d1fd2c2978d06 /src/gallium/state_trackers/vega
parent97329efc5fab01b105015773009a1f17bc6e1136 (diff)
vega: memset data array to zero to silence uninitialized var warnings
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r--src/gallium/state_trackers/vega/path.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/path.c b/src/gallium/state_trackers/vega/path.c
index e62d1e32288..43755f44d5d 100644
--- 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,