From: Zack Rusin Date: Mon, 24 Aug 2009 20:38:43 +0000 (-0400) Subject: openvg: fix vgTransformPath with relative coords X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=534c13302291c07a44afd528f4c758ced4296db5;p=mesa.git openvg: fix vgTransformPath with relative coords --- diff --git a/src/gallium/state_trackers/vega/path.c b/src/gallium/state_trackers/vega/path.c index d04f9d9ae64..4fc23a7a278 100644 --- a/src/gallium/state_trackers/vega/path.c +++ b/src/gallium/state_trackers/vega/path.c @@ -868,7 +868,7 @@ static VGboolean transform_cb(struct path *p, vg_float_to_datatype(td->datatype, common_data, data, num_coords); - array_append_data(td->segments, &segment, 1); + array_append_data(td->segments, &pd->segment, 1); array_append_data(td->coords, common_data, num_coords); return VG_TRUE; }