summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-08-24 16:38:43 -0400
committerZack Rusin <[email protected]>2009-08-24 16:38:43 -0400
commit534c13302291c07a44afd528f4c758ced4296db5 (patch)
tree16b78ee8c67391164ceae714323d3033ec472784 /src
parented14a4cb7bbcef45668a3ab6fe8efb267b7c4efd (diff)
openvg: fix vgTransformPath with relative coords
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/vega/path.c2
1 files changed, 1 insertions, 1 deletions
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;
}