I want to have the class object as a parameter in Display(common *s) function (where common is a class) which is called in glutDisplayFunc(Display)
But it shows error that i should not use parameters in display func.....Is there any way to do it....?
Start Free Trial