Fixing Bug #1398196 - Windows message argument
authorJohn F. Fay <johnffay@nettally.com>
Thu, 21 Sep 2006 22:06:57 +0000 (22:06 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Thu, 21 Sep 2006 22:06:57 +0000 (22:06 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@703 7f0cb862-5218-0410-a997-914c9d46530a

ChangeLog
src/freeglut_main.c

index 2cdb236..97db371 100644 (file)
--- a/ChangeLog
+++ b/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
+
index c78dab8..b4cabb3 100644 (file)
@@ -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
 }