+/*
+ * Sets the context reload callback for the current window
+ */
+void FGAPIENTRY glutInitContextFunc( void (* callback)() )
+{
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutInitContextFunc" );
+ SET_CALLBACK( InitContext );
+}
+
+/*
+ * Sets the pause callback for the current window
+ */
+void FGAPIENTRY glutPauseFunc( void (* callback)() )
+{
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutPauseFunc" );
+ SET_CALLBACK( Pause );
+}
+
+/*
+ * Sets the resume callback for the current window
+ */
+void FGAPIENTRY glutResumeFunc( void (* callback)() )
+{
+ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutResumeFunc" );
+ SET_CALLBACK( Resume );
+}
+