openvg: fix vgTransformPath with relative coords
authorZack Rusin <zackr@vmware.com>
Mon, 24 Aug 2009 20:38:43 +0000 (16:38 -0400)
committerZack Rusin <zackr@vmware.com>
Mon, 24 Aug 2009 20:38:43 +0000 (16:38 -0400)
src/gallium/state_trackers/vega/path.c

index d04f9d9ae643991da6bba7fb2830456eb1da8761..4fc23a7a278d2a7b936e754b505eb2379679db23 100644 (file)
@@ -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;
 }