projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore files generated by autoscan.
[freeglut]
/
src
/
freeglut_misc.c
diff --git
a/src/freeglut_misc.c
b/src/freeglut_misc.c
index
2813252
..
e515b9b
100644
(file)
--- a/
src/freeglut_misc.c
+++ b/
src/freeglut_misc.c
@@
-53,9
+53,7
@@
int FGAPIENTRY glutExtensionSupported( const char* extension )
const char *extensions, *start;
const int len = strlen( 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 );
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;
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;
}
fgStructure.Window->State.IgnoreKeyRepeat = ignore ? GL_TRUE : GL_FALSE;
}
@@
-150,9
+148,7
@@
void FGAPIENTRY glutForceJoystickFunc( void )
*/
void FGAPIENTRY glutSetColor( int nColor, GLfloat red, GLfloat green, GLfloat blue )
{
*/
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 )
{
*/
GLfloat FGAPIENTRY glutGetColor( int color, int component )
{
- /*
- *
- */
+ /* We really need to do something here. */
return( 0.0f );
}
return( 0.0f );
}
@@
-171,9
+165,7
@@
GLfloat FGAPIENTRY glutGetColor( int color, int component )
*/
void FGAPIENTRY glutCopyColormap( int window )
{
*/
void FGAPIENTRY glutCopyColormap( int window )
{
- /*
- *
- */
+ /* We really need to do something here. */
}
/*** END OF FILE ***/
}
/*** END OF FILE ***/