Commit 50b6b72d authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Replace while (1) with for (;;).

parent b854c12a
......@@ -5126,7 +5126,7 @@ static inline void wined3d_resource_wait_idle(const struct wined3d_resource *res
if (!wined3d_ge_wrap(head, access_time))
return;
while (1)
for (;;)
{
tail = *(volatile ULONG *)&cs->queue[WINED3D_CS_QUEUE_DEFAULT].tail;
if (head == tail) /* Queue empty. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment