PDA

View Full Version : The second window is fully transparent!



syncmaster
04-29-2008, 05:25 AM
Hello,
when I create the second window(via my menu entry) I find that it is fully transparent but I want it to be of zero transparency as the first window is. I could not find the way to establish zero transparency for the second window. I hope it is possible. How?

Thank you in advance
Oleg

ZbuffeR
04-29-2008, 08:28 AM
Be sure to do that on your second window :

glClearColor( 1.0f,1.0f,1.0f,1.0f);
glClear(GL_COLOR_BUFFER_BIT);

syncmaster
05-02-2008, 05:41 AM
Thank you,
it's helped.
Regards
Oleg