projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cannot use //-style comments in shader source, doesn't work on nVidia
[freeglut]
/
src
/
fg_callbacks.c
diff --git
a/src/fg_callbacks.c
b/src/fg_callbacks.c
index
b3e2917
..
6eff0bf
100644
(file)
--- a/
src/fg_callbacks.c
+++ b/
src/fg_callbacks.c
@@
-412,28
+412,28
@@
void FGAPIENTRY glutMultiPassiveFunc( void (* callback)(int, int, int ) )
/*
* Sets the context reload callback for the current window
*/
/*
* Sets the context reload callback for the current window
*/
-void FGAPIENTRY glutFixMyNameInitContextFunc( void (* callback)() )
+void FGAPIENTRY glutInitContextFunc( void (* callback)() )
{
{
- FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutFixMyNameInitContextFunc" );
- SET_CALLBACK( FixMyNameInitContext );
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutInitContextFunc" );
+ SET_CALLBACK( InitContext );
}
/*
* Sets the pause callback for the current window
*/
}
/*
* Sets the pause callback for the current window
*/
-void FGAPIENTRY glutFixMyNamePauseFunc( void (* callback)() )
+void FGAPIENTRY glutPauseFunc( void (* callback)() )
{
{
- FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutFixMyNamePauseFunc" );
- SET_CALLBACK( FixMyNamePause );
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutPauseFunc" );
+ SET_CALLBACK( Pause );
}
/*
* Sets the resume callback for the current window
*/
}
/*
* Sets the resume callback for the current window
*/
-void FGAPIENTRY glutFixMyNameResumeFunc( void (* callback)() )
+void FGAPIENTRY glutResumeFunc( void (* callback)() )
{
{
- FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutFixMyNameResumeFunc" );
- SET_CALLBACK( FixMyNameResume );
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutResumeFunc" );
+ SET_CALLBACK( Resume );
}
/*** END OF FILE ***/
}
/*** END OF FILE ***/