Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT) unimplemented).
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@527 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
75ef445990
commit
dda2b9bdcd
@ -699,3 +699,6 @@ from freeglut.
|
||||
***************************************************************************
|
||||
|
||||
(185) Fixed bug #1079530 (glutGetProcAddress and geometric objects).
|
||||
|
||||
(186) Fixed bug #1087642 (glutDeviceGet(GLUT_DEVICE_KEY_REPEAT)
|
||||
unimplemented).
|
||||
|
@ -559,8 +559,7 @@ int FGAPIENTRY glutDeviceGet( GLenum eWhat )
|
||||
return fgStructure.Window ? fgStructure.Window->State.IgnoreKeyRepeat : 0;
|
||||
|
||||
case GLUT_DEVICE_KEY_REPEAT:
|
||||
/* XXX WARNING: THIS IS A BIG LIE! */
|
||||
return GLUT_KEY_REPEAT_DEFAULT;
|
||||
return fgState.KeyRepeat;
|
||||
|
||||
default:
|
||||
fgWarning( "glutDeviceGet(): missing enum handle %d", eWhat );
|
||||
|
Reference in New Issue
Block a user