gallium/u_blitter: remove an unused variable
authorMarek Olšák <marek.olsak@amd.com>
Thu, 17 Oct 2019 20:07:02 +0000 (16:07 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 17 Oct 2019 20:07:02 +0000 (16:07 -0400)
trivial

src/gallium/auxiliary/util/u_blitter.c

index 5400e0a4b67f4573cdb46ae9709428737df633ac..f4bd04287c0e160c825bdf09f045ab918234f578 100644 (file)
@@ -793,8 +793,6 @@ static void blitter_set_rectangle(struct blitter_context_priv *ctx,
                                   int x1, int y1, int x2, int y2,
                                   float depth)
 {
-   int i;
-
    /* set vertex positions */
    ctx->vertices[0][0][0] = (float)x1 / ctx->dst_width * 2.0f - 1.0f; /*v0.x*/
    ctx->vertices[0][0][1] = (float)y1 / ctx->dst_height * 2.0f - 1.0f; /*v0.y*/