X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_menu.c;h=4f8e1a6b2918cbddb9ae54386f034429fcaae44b;hb=12e86920286ff7c8ae5e650284535bac920eacee;hp=9b40bfef8e0f6002f5f43906c1145f81108c9c1e;hpb=d2e9a9aa23fe843257ac6826d38d9fbb8b9f6e5f;p=freeglut diff --git a/src/fg_menu.c b/src/fg_menu.c index 9b40bfe..4f8e1a6 100644 --- a/src/fg_menu.c +++ b/src/fg_menu.c @@ -791,7 +791,7 @@ void fghCalculateMenuBoxSize( void ) /* * Creates a new menu object, adding it to the freeglut structure */ -int FGAPIENTRY glutCreateMenu( void(* callback)( int ) ) +int FGAPIENTRY glutCreateMenu( FGCBMenu callback ) { /* The menu object creation code resides in freeglut_structure.c */ FREEGLUT_EXIT_IF_NOT_INITIALISED ( "glutCreateMenu" );