Mesa (master): gallium/u_blitter: remove an unused variable

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 17 20:07:53 UTC 2019


Module: Mesa
Branch: master
Commit: 3ed1dd3d429c92729845bd694e6527595b00aeb2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ed1dd3d429c92729845bd694e6527595b00aeb2

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Oct 17 16:07:02 2019 -0400

gallium/u_blitter: remove an unused variable

trivial

---

 src/gallium/auxiliary/util/u_blitter.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index 5400e0a4b67..f4bd04287c0 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -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*/




More information about the mesa-commit mailing list