projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa5b34
)
gallium/u_blitter: remove an unused variable
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 17 Oct 2019 20:07:02 +0000
(16:07 -0400)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index 5400e0a4b67f4573cdb46ae9709428737df633ac..f4bd04287c0e160c825bdf09f045ab918234f578 100644
(file)
--- 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*/