PDA

View Full Version : how can i close an open subwindow in glut?



pavelk
04-03-2002, 07:30 AM
i open a subwindow by glutCreateWindow();
and when i close him by hand , the application terminates.

how can i solve the problem ?

nexusone
04-03-2002, 08:27 AM
Have you tired glutDestroyWindow?


Originally posted by pavelk:
i open a subwindow by glutCreateWindow();
and when i close him by hand , the application terminates.

how can i solve the problem ?