X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_structure.c;h=498dad3dac4ee9dea99fa90233d6b1ed5bc99a72;hb=4f58e4f75c3d57437da215f4119e9991b77272e0;hp=fe172d14b83f3ad98e3e0c252f73d817463aded3;hpb=d6ccf7c81bdad11e6902a258e8e21fdbe6b9f968;p=freeglut diff --git a/src/freeglut_structure.c b/src/freeglut_structure.c index fe172d1..498dad3 100644 --- a/src/freeglut_structure.c +++ b/src/freeglut_structure.c @@ -110,6 +110,9 @@ SFG_Window* fgCreateWindow( SFG_Window* parent, const char* title, window->IsMenu = isMenu; + window->State.IgnoreKeyRepeat = GL_FALSE; + window->State.KeyRepeating = GL_FALSE; + /* * Open the window now. The fgOpenWindow() function is system * dependant, and resides in freeglut_window.c. Uses fgState.