Open jzy3d opened 1 year ago
I solved this by noticing that console shows
GLUT Warning: glutInit being called a second time
Which was surprising since my program really called it once.
I got clue from this discussion, where someone suggests that glutInit must be called before any other call to OpenGL.
I solved this by invoking glutInit at the first line of my program and commenting where it was called initially.
I solved this by noticing that console shows
GLUT Warning: glutInit being called a second time
Which was surprising since my program really called it once.
I got clue from this discussion, where someone suggests that glutInit must be called before any other call to OpenGL.
I solved this by invoking glutInit at the first line of my program and commenting where it was called initially.