PDA

View Full Version : Double Window close problem



SANTOS_GL
03-27-2009, 07:53 AM
Hi all,

Im my application, i am using double window display funda.

I mean, i have displayed map, and after some time, when i press the key(which ever i define) I am able to display on the more window ( using glutCreatWindow()).

Now the problem comes here, when i close the newely created window, the old window also getting closed. How i can stop the window getting closed.

thanks.

SANTOS_GL
03-27-2009, 08:08 AM
One more problem, what i'm facing is FLICKERING effect for both the displayed windows.

Even though i'm using, GLUT_DOUBLE.

Please help me come out of this problem also.

Thanks.

SANTOS_GL
03-27-2009, 11:52 PM
Hi,

I got the solution for closing the 2nd window only.

I used the below function to get rid of the problem.

void glutDestroyWindow(int win).

Now still i'm facing the flickering effect for both the windoes.

please help me to solve the issue.

Thanks.