#include "config.h"
#endif
-#include "../include/GL/freeglut.h"
+#include <GL/freeglut.h>
#include "freeglut_internal.h"
#define SET_CALLBACK(a) \
if( fgStructure.Window == NULL ) \
return; \
- FETCH_WCB( ( *( fgStructure.Window ) ), a ) = callback;
+ SET_WCB( ( *( fgStructure.Window ) ), a, callback );
/*
* Sets the Display callback for the current window
fgError( "Fatal error in program. NULL display callback not "
"permitted in GLUT 3.0+ or freeglut 2.0.1+\n" );
SET_CALLBACK( Display );
- fgStructure.Window->State.Redisplay = GL_TRUE;
}
/*