Ignore files generated by autoscan.
[freeglut] / src / freeglut_misc.c
index 62633c5..e515b9b 100644 (file)
@@ -53,9 +53,7 @@ int FGAPIENTRY glutExtensionSupported( const char* extension )
   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 );
 
@@ -98,7 +96,7 @@ void FGAPIENTRY glutReportErrors( void )
 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;
 }
@@ -142,7 +140,7 @@ void FGAPIENTRY glutForceJoystickFunc( void )
     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 */
 }
 
 /*
@@ -150,9 +148,7 @@ void FGAPIENTRY glutForceJoystickFunc( void )
  */
 void FGAPIENTRY glutSetColor( int nColor, GLfloat red, GLfloat green, GLfloat blue )
 {
-    /*
-     *
-     */
+    /* We really need to do something here. */
 }
 
 /*
@@ -160,9 +156,7 @@ void FGAPIENTRY glutSetColor( int nColor, GLfloat red, GLfloat green, GLfloat bl
  */
 GLfloat FGAPIENTRY glutGetColor( int color, int component )
 {
-    /*
-     *
-     */
+    /* We really need to do something here. */
     return( 0.0f );
 }
 
@@ -171,9 +165,7 @@ GLfloat FGAPIENTRY glutGetColor( int color, int component )
  */
 void FGAPIENTRY glutCopyColormap( int window )
 {
-    /*
-     *
-     */
+    /* We really need to do something here. */
 }
 
 /*** END OF FILE ***/