projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nouveau: nv40 swizzled mipmap fixes.
[mesa.git]
/
src
/
gallium
/
drivers
/
nv04
/
nv04_surface_2d.c
diff --git
a/src/gallium/drivers/nv04/nv04_surface_2d.c
b/src/gallium/drivers/nv04/nv04_surface_2d.c
index 85308496895c72e976f4fd248c2915174c8caf63..230cfd17dd915c4f066d7657ed4210c7dcc36add 100644
(file)
--- a/
src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/
src/gallium/drivers/nv04/nv04_surface_2d.c
@@
-105,8
+105,8
@@
nv04_surface_copy_swizzle(struct nv04_surface_2d *ctx,
const unsigned max_h = 1024;
const unsigned sub_w = w > max_w ? max_w : w;
const unsigned sub_h = h > max_h ? max_h : h;
- unsigned cx
= 0
;
- unsigned cy
= 0
;
+ unsigned cx;
+ unsigned cy;
/* POT or GTFO */
assert(!(w & (w - 1)) && !(h & (h - 1)));