pex-gl / pex-gui

GUI controls for PEX.
https://pex-gl.github.io/pex-gui/
MIT License
16 stars 4 forks source link

GUI.draw disables depthMask and never re-enables it #3

Closed vorg closed 6 years ago

vorg commented 9 years ago
glu.enableDepthReadAndWrite(false, false);

Should be followed by

glu.enableDepthReadAndWrite(true, true);

at the end of draw(). Otherwise

gl.depthMask is 0

vorg commented 6 years ago

No relevant with new pex-context