diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/vega/path.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vega/path.c b/src/gallium/state_trackers/vega/path.c index 43755f44d5d..31ec7199062 100644 --- a/src/gallium/state_trackers/vega/path.c +++ b/src/gallium/state_trackers/vega/path.c @@ -1085,10 +1085,8 @@ static INLINE VGubyte normalize_coords(struct path_iter_data *pd, } break; case VG_SCUBIC_TO: { - VGfloat x0, y0, x1, y1, x2, y2, x3, y3; + VGfloat x1, y1, x2, y2, x3, y3; data_at(&pd->coords, pd->path, 0, 4, data); - x0 = pd->ox; - y0 = pd->oy; x1 = 2*pd->ox-pd->px; y1 = 2*pd->oy-pd->py; x2 = data[0]; |