wined3d: Replace while (1) with for (;;).
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b854c12a3e
commit
50b6b72d30
|
@ -5126,7 +5126,7 @@ static inline void wined3d_resource_wait_idle(const struct wined3d_resource *res
|
||||||
if (!wined3d_ge_wrap(head, access_time))
|
if (!wined3d_ge_wrap(head, access_time))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
while (1)
|
for (;;)
|
||||||
{
|
{
|
||||||
tail = *(volatile ULONG *)&cs->queue[WINED3D_CS_QUEUE_DEFAULT].tail;
|
tail = *(volatile ULONG *)&cs->queue[WINED3D_CS_QUEUE_DEFAULT].tail;
|
||||||
if (head == tail) /* Queue empty. */
|
if (head == tail) /* Queue empty. */
|
||||||
|
|
Loading…
Reference in New Issue