Problem with glDepthMask

"Nicolas P. Rougier" <[email protected]> Wed, 20 Jan 2016 08:13:54 +0100
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
Hi all,


I'm having a problem using the glDepthMask() function. I've made a simple example to show the problem:

https://gist.github.com/rougier/188c4771dab1694a074e


With the glDepthMask(True) / glDepthMask(False) commented out, the display is fine. But with them, the display is totally screwed. I would like to know if you get the same output or if this is only on my machine ?

I'm using python 3.5.1 and PyOpenGL 3.1.0. If anybody has an explanation...



Nicolas


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net