Signed-off-by: Stefan Dösinger stefan@codeweavers.com
---
For consistency, as suggested by Henri: https://www.winehq.org/pipermail/wine-devel/2022-March/210557.html. --- dlls/wined3d/wined3d_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index eafe8456ae9..48be53b8f04 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -5125,7 +5125,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. */