From 509cc867cc03c678702153807a22d0e02b397359 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 8 Oct 2011 13:07:04 +0800 Subject: [PATCH] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index cffbd54..19df5d3 100644 --- a/scene.c +++ b/scene.c @@ -223,10 +223,10 @@ void processLightEvents(int id) { void makeMenu() { //int main, object, objectsize, material, texture, gtexture, light; - /*glutCreateMenu(processMainEvents); + glutCreateMenu(processMainEvents); - int objectSize = sizeof(objectMenuEntries) / sizeof(objectMenuEntries[0]); + /*int objectSize = sizeof(objectMenuEntries) / sizeof(objectMenuEntries[0]); int numMenus = objectSize/10 + 1; int objectSubmenu[numMenus]; -- 2.20.1