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).
|
(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;
|
return fgStructure.Window ? fgStructure.Window->State.IgnoreKeyRepeat : 0;
|
||||||
|
|
||||||
case GLUT_DEVICE_KEY_REPEAT:
|
case GLUT_DEVICE_KEY_REPEAT:
|
||||||
/* XXX WARNING: THIS IS A BIG LIE! */
|
return fgState.KeyRepeat;
|
||||||
return GLUT_KEY_REPEAT_DEFAULT;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fgWarning( "glutDeviceGet(): missing enum handle %d", eWhat );
|
fgWarning( "glutDeviceGet(): missing enum handle %d", eWhat );
|
||||||
|
Reference in New Issue
Block a user