summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-10-17 16:07:02 -0400
committerMarek Olšák <[email protected]>2019-10-17 16:07:02 -0400
commit3ed1dd3d429c92729845bd694e6527595b00aeb2 (patch)
tree6cb15eda99a014c47dd84646bc19d8fa7abbf002 /src
parent9aa5b348de8b0377801f67f852c196a6f3e89421 (diff)
gallium/u_blitter: remove an unused variable
trivial
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c2
1 files changed, 0 insertions, 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*/