To All:
How to set Depth Buffer Bit without changing VGA’s Color Bits? Thanks
call glColorMask(0,0,0,0);
well, I haven’t tried that before and now I found out that my OpenGL card does not support it (->switches to software mode).
Another idea is glDrawBuffer(GL_NONE);
hope it helps
Platinum
You can also try glDrawPixels with GL_DEPTH_COMPONENT.