From 938aa5fa904f191fcd06c0e78bef7a5732f465ed Mon Sep 17 00:00:00 2001 From: fayjf Date: Thu, 21 Sep 2006 22:06:57 +0000 Subject: [PATCH] Fixing Bug #1398196 - Windows message argument git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@703 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/ChangeLog | 3 +++ freeglut/freeglut/src/freeglut_main.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/freeglut/freeglut/ChangeLog b/freeglut/freeglut/ChangeLog index 2cdb236..97db371 100644 --- a/freeglut/freeglut/ChangeLog +++ b/freeglut/freeglut/ChangeLog @@ -1211,3 +1211,6 @@ format changes for Windows 2006) to have the "glutInitDisplayString" ignore numerical assignments to tokens as a temporary fix. +(314) Fixed buy #1398196 in the bug tracker to the effect that passing the +wrong argument in "fghSleepForEvents" can cause odd delays + diff --git a/freeglut/freeglut/src/freeglut_main.c b/freeglut/freeglut/src/freeglut_main.c index c78dab8..b4cabb3 100644 --- a/freeglut/freeglut/src/freeglut_main.c +++ b/freeglut/freeglut/src/freeglut_main.c @@ -489,7 +489,7 @@ static void fghSleepForEvents( void ) fgWarning ( "freeglut select() error: %d", errno ); } #elif TARGET_HOST_MS_WINDOWS - MsgWaitForMultipleObjects( 0, NULL, FALSE, msec, QS_ALLEVENTS ); + MsgWaitForMultipleObjects( 0, NULL, FALSE, msec, QS_ALLINPUT ); #endif }