From 7d32c6139c8380d863cfff5c46609ef23baf56c8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Oct 2022 15:53:52 -0400 Subject: Suppress MinGW warnings --- src/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/win.c b/src/win.c index 8c95386..4b303eb 100644 --- a/src/win.c +++ b/src/win.c @@ -918,7 +918,7 @@ puglUpdate(PuglWorld* world, double timeout) if (timeout < 0.0) { st = puglPollWinEvents(world, timeout); st = st ? st : puglDispatchWinEvents(world); - } else if (timeout == 0.0) { + } else if (timeout <= 0.001) { st = puglDispatchWinEvents(world); } else { const double endTime = startTime + timeout - 0.001; -- cgit v1.2.1