View Full Version : Screen gets dark

10-01-2000, 08:22 PM
I made a small application showing a cube one can rotate using the arrows keys.
As so - if one press the "End" key I get the depth buffer into an array and save it.
The problem is that after getting that buffer (I use the glReadPixels function) I get a black screen - so I can not get that buffer more then one time for each execution..

10-02-2000, 01:40 AM
Hello, could u post some code ?? It should help me to see what is ur problem http://www.opengl.org/discussion_boards/ubb/smile.gif