glutAddMenuEntry("R/G/B/All Light 2", LIGHT_RGBALL_LIGHT_2);\r
\r
// Construct add object submenus\r
- int addObjectMenu = makeSubmenuFromArray( objectMenuEntries, processObjectEvents );\r
+ int addObjectMenu = makeSubmenuFromArray( &objectMenuEntries, processObjectEvents );\r
\r
// Construct texture/ground texture submenus\r
/* int textureMenuEntries = sizeof(textureMenuEntries) / sizeof(textureMenuEntries[0]);\r