X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=scene.c;h=c41c09551baea84b6af79bba549c670a0902761e;hb=1d719278281fb2644da2be272f4833872140b1ce;hp=b12ed159445d2f47b0401f5cd8a16ff773b828ae;hpb=c012f7cd9295d346519ed24e16e78ce5d553f329;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index b12ed15..c41c095 100644 --- a/scene.c +++ b/scene.c @@ -225,7 +225,7 @@ void makeMenu() { object = glutCreateMenu(processObjectEvents); for ( int i = 0; objectMenuEntries[i]; i++ ) { - glutAddMenuEntry( objectMenuEntries[i], i ); + glutAddMenuEntry( objectMenuEntries[i], i ); } @@ -233,6 +233,7 @@ void makeMenu() { glutCreateMenu(processMainEvents); glutAddMenuEntry("Exit", 99); glutAttachMenu(GLUT_RIGHT_BUTTON); + } void display() {