const char *extensions, *start;
const int len = strlen( extension );
- /*
- * Make sure there is a current window, and thus a current context available
- */
+ /* Make sure there is a current window, and thus a current context available */
freeglut_assert_ready;
freeglut_return_val_if_fail( fgStructure.Window != NULL, 0 );
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;
}
freeglut_return_if_fail( fgStructure.Window != NULL );
freeglut_return_if_fail( FETCH_WCB( *( fgStructure.Window ), Joystick ) );
fgJoystickPollWindow( fgStructure.Window );
-#endif //!TARGET_HOST_WINCE
+#endif /* !TARGET_HOST_WINCE */
}
/*
*/
void FGAPIENTRY glutSetColor( int nColor, GLfloat red, GLfloat green, GLfloat blue )
{
- /*
- *
- */
+ /* We really need to do something here. */
}
/*
*/
GLfloat FGAPIENTRY glutGetColor( int color, int component )
{
- /*
- *
- */
+ /* We really need to do something here. */
return( 0.0f );
}
*/
void FGAPIENTRY glutCopyColormap( int window )
{
- /*
- *
- */
+ /* We really need to do something here. */
}
/*** END OF FILE ***/