From: Nigel Stewart Date: Mon, 8 Mar 2004 06:06:57 +0000 (+0000) Subject: ignoreKeyRepeat mode in FreeGLUT is TRUE by default X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=6ed7c0e42723331aaaba7e190f554d298a5dae58;p=freeglut ignoreKeyRepeat mode in FreeGLUT is TRUE by default 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 --- diff --git a/src/freeglut_init.c b/src/freeglut_init.c index eea5940..7aad2f3 100644 --- a/src/freeglut_init.c +++ b/src/freeglut_init.c @@ -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 */