mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
util: move var declaration before loop to fix MSVC error
This commit is contained in:
parent
1aebb6911e
commit
35fe71d97e
1 changed files with 2 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue