voidcreateMenu(void){//animeringsmeny =glutCreateMenu(menu);//glutAddMenuEntry("menu 1", 1);//glutAddMenuEntry("menu 2", 2);//springmeny =glutCreateMenu(menu);//glutAddMenuEntry("menu 3", 3);//glutAddMenuEntry("menu 4", 4);menyid =glutCreateMenu(menu);//glutAddSubMenu("menu 5...
"glutCreateMenu could have a NULL callback passed into it. This won't cause any issues until the menu is invoked, in which case it will segfault. Should there be a check when the menu is created, or should the callback be ignored"rcmaniac25 mentioned this issue on Jan 18, 2016 glut...