projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eefd373
)
vega: remove unused variables
author
Fabio Pedretti
<fabio.ped@libero.it>
Fri, 7 Dec 2012 22:00:05 +0000
(23:00 +0100)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 Dec 2012 16:43:20 +0000
(09:43 -0700)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/vega/path.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/path.c
b/src/gallium/state_trackers/vega/path.c
index 43755f44d5d809853306511df5c112b44bfe6d9c..31ec71990620a013f7a0584fa6065e6f05143115 100644
(file)
--- a/
src/gallium/state_trackers/vega/path.c
+++ b/
src/gallium/state_trackers/vega/path.c
@@
-1085,10
+1085,8
@@
static INLINE VGubyte normalize_coords(struct path_iter_data *pd,
}
break;
case VG_SCUBIC_TO: {
- VGfloat x
0, y0, x
1, y1, x2, y2, x3, y3;
+ VGfloat x1, y1, x2, y2, x3, y3;
data_at(&pd->coords, pd->path, 0, 4, data);
- x0 = pd->ox;
- y0 = pd->oy;
x1 = 2*pd->ox-pd->px;
y1 = 2*pd->oy-pd->py;
x2 = data[0];