ignoreKeyRepeat mode in FreeGLUT is TRUE by default
authorNigel Stewart <nigels.com@gmail.com>
Mon, 8 Mar 2004 06:06:57 +0000 (06:06 +0000)
committerNigel Stewart <nigels.com@gmail.com>
Mon, 8 Mar 2004 06:06:57 +0000 (06:06 +0000)
For compatibility with GLUT, the mode should be FALSE by default
This issues was probably undetected until now because ignoreKeyRepeat didn't yet work.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@473 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_init.c

index eea5940..7aad2f3 100644 (file)
@@ -65,7 +65,7 @@ SFG_State fgState = { { -1, -1, GL_FALSE },  /* Position */
                       GL_FALSE,              /* UseCurrentContext */
                       GL_FALSE,              /* GLDebugSwitch */
                       GL_FALSE,              /* XSyncSwitch */
-                      GL_TRUE,               /* IgnoreKeyRepeat */
+                      GL_FALSE,              /* IgnoreKeyRepeat */
                       0xffffffff,            /* Modifiers */
                       0,                     /* FPSInterval */
                       0,                     /* SwapCount */