Added an #ifdef check around the glutSpecialUpFunc to help compile unde old

version of GLUT.
This commit is contained in:
Robert Osfield
2003-01-24 09:34:33 +00:00
parent 20ba1a4033
commit 6eb62b1e30

View File

@@ -79,7 +79,9 @@ bool Window::open()
glutPassiveMotionFunc( mousePassiveMotionCB );
glutSpecialFunc( specialCB );
#if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 13)
glutSpecialUpFunc( specialUpCB );
#endif
glutSpaceballMotionFunc( spaceballMotionCB );
glutSpaceballRotateFunc( spaceballRotateCB );
glutSpaceballButtonFunc( spaceballButtonCB );