projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aebb69
)
util: move var declaration before loop to fix MSVC error
author
Brian Paul
<brianp@vmware.com>
Fri, 4 Jan 2013 15:21:12 +0000
(08:21 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 4 Jan 2013 15:22:02 +0000
(08:22 -0700)
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 9173c82dda2fe9eb7f990dd2c3d953ae2889bd10..1b9a3f438ac31ef85a2d38cf1182f6c007aae287 100644
(file)
--- a/
src/gallium/auxiliary/util/u_blitter.c
+++ b/
src/gallium/auxiliary/util/u_blitter.c
@@
-1399,7
+1399,8
@@
void util_blitter_blit_generic(struct blitter_context *blitter,
UTIL_BLITTER_ATTRIB_TEXCOORD, &coord);
} else {
/* Draw the quad with the generic codepath. */
- for (int z = 0; z < dstbox->depth; z++) {
+ int z;
+ for (z = 0; z < dstbox->depth; z++) {
struct pipe_surface *old;
/* Set framebuffer state. */