mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 09:25:06 +00:00
wined3d: Remove unnecessary index increment in wined3d_context_gl_cleanup_resources().
This commit is contained in:
parent
d6e4e944af
commit
c1857959b8
|
@ -2663,8 +2663,6 @@ static void wined3d_context_gl_cleanup_resources(struct wined3d_context_gl *cont
|
||||||
wined3d_device_gl_free_memory(device_gl, r->block);
|
wined3d_device_gl_free_memory(device_gl, r->block);
|
||||||
if (i != --count)
|
if (i != --count)
|
||||||
*r = blocks[count];
|
*r = blocks[count];
|
||||||
else
|
|
||||||
++i;
|
|
||||||
}
|
}
|
||||||
device_gl->retired_block_count = count;
|
device_gl->retired_block_count = count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue