summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Pedretti <[email protected]>2012-12-07 23:00:05 +0100
committerBrian Paul <[email protected]>2012-12-10 09:43:20 -0700
commit8b6e782eb9bb91907c8ad6ac88365feca4a26d2e (patch)
tree4bab37de77c4ad9446a653e15b41d8b102f0580b /src
parenteefd373876d74249e8a94773543f268c5a59371a (diff)
vega: remove unused variables
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/vega/path.c4
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];