[PATCH 3/3] wined3d: Replace while (1) with for (;;).
Stefan Dösinger
stefan at codeweavers.com
Fri Mar 11 06:02:55 CST 2022
Signed-off-by: Stefan Dösinger <stefan at 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. */
--
2.34.1
More information about the wine-devel
mailing list