From 8ef6187d8573c15c50ee8086d2d27429e47826af Mon Sep 17 00:00:00 2001 From: nigels Date: Mon, 8 Mar 2004 06:06:57 +0000 Subject: [PATCH] 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: https://svn.code.sf.net/p/freeglut/code/trunk@473 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_init.c b/freeglut/freeglut/src/freeglut_init.c index eea5940..7aad2f3 100644 --- a/freeglut/freeglut/src/freeglut_init.c +++ b/freeglut/freeglut/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 */