From: Ash Tyndall Date: Sat, 8 Oct 2011 06:31:21 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=78afa41d3d94bdcc99cbbf136ed730b5498dc1c2;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index bd003f5..6fab50e 100644 --- a/scene.c +++ b/scene.c @@ -295,7 +295,7 @@ void makeMenu() { glutAddMenuEntry("R/G/B/All Light 2", LIGHT_RGBALL_LIGHT_2); // Construct add object submenus - int addObjectMenu = makeSubmenuFromArray( objectMenuEntries, processObjectEvents ); + int addObjectMenu = makeSubmenuFromArray( &objectMenuEntries, processObjectEvents ); // Construct texture/ground texture submenus /* int textureMenuEntries = sizeof(textureMenuEntries) / sizeof(textureMenuEntries[0]);