X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_misc.c;h=e515b9be1e6dab2c834126b0909f2e235fde69c3;hb=91fa73f22d66ddca47d3402ffaac09cebfb36190;hp=932f6c7565d8ac9d0c47e0fbbd3a5ee5633bb646;hpb=4fa63bbb5637f30db8eec9de49c0b2c4830cb866;p=freeglut diff --git a/src/freeglut_misc.c b/src/freeglut_misc.c index 932f6c7..e515b9b 100644 --- a/src/freeglut_misc.c +++ b/src/freeglut_misc.c @@ -96,7 +96,7 @@ void FGAPIENTRY glutReportErrors( void ) void FGAPIENTRY glutIgnoreKeyRepeat( int ignore ) { freeglut_assert_ready; - freeglut_assert_window; + FREEGLUT_EXIT_IF_NO_WINDOW ( "glutIgnoreKeyRepeat" ); fgStructure.Window->State.IgnoreKeyRepeat = ignore ? GL_TRUE : GL_FALSE; }