- /* deInitialize the freeglut state */
- /* This all goes haywire of course when the error occurs during deinitialize,
- * one might want to call exit directly as its possible freeglut is messed
- * up internally when error is called.
- */
- printf("Error callback: calling glutExit() to prepare for clean exit\n");
- glutExit();
-
- /* terminate program */