summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega/arc.c')
-rw-r--r--src/gallium/state_trackers/vega/arc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/arc.c b/src/gallium/state_trackers/vega/arc.c
index db26e010a05..2d123408702 100644
--- a/src/gallium/state_trackers/vega/arc.c
+++ b/src/gallium/state_trackers/vega/arc.c
@@ -528,7 +528,6 @@ static INLINE int num_beziers_needed(struct arc *arc)
double threshold = 0.05;
VGboolean found = VG_FALSE;
int n = 1;
- int i;
double min_eta, max_eta;
min_eta = MIN2(arc->eta1, arc->eta2);
@@ -562,7 +561,6 @@ static void arc_to_beziers(struct arc *arc,
sin_eta_b, a_cos_eta_b, b_sin_eta_b, a_sin_eta_b,
b_cos_eta_b, x_b, y_b, x_b_dot, y_b_dot, lx, ly;
double t, alpha;
- int i;
{ /* always move to the start of the arc */
VGfloat x = arc->x1;