projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor formatting quibbles. (The brain isn't up to anything more serious
[freeglut]
/
src
/
freeglut_misc.c
diff --git
a/src/freeglut_misc.c
b/src/freeglut_misc.c
index
3d1ce5b
..
5891f4c
100644
(file)
--- a/
src/freeglut_misc.c
+++ b/
src/freeglut_misc.c
@@
-152,20
+152,8
@@
void FGAPIENTRY glutSetKeyRepeat( int repeatMode )
void FGAPIENTRY glutForceJoystickFunc( void )
{
freeglut_assert_ready;
void FGAPIENTRY glutForceJoystickFunc( void )
{
freeglut_assert_ready;
-
- /*
- * Is there a current window selected?
- */
freeglut_return_if_fail( fgStructure.Window != NULL );
freeglut_return_if_fail( fgStructure.Window != NULL );
-
- /*
- * Check if there is a joystick callback hooked to the current window
- */
freeglut_return_if_fail( fgStructure.Window->Callbacks.Joystick != NULL );
freeglut_return_if_fail( fgStructure.Window->Callbacks.Joystick != NULL );
-
- /*
- * Poll the joystick now, using the current window's joystick callback
- */
fgJoystickPollWindow( fgStructure.Window );
}
fgJoystickPollWindow( fgStructure.Window );
}