manuelbua/libgdx-contribs

Clear depth buffer by default if useDepth is true

terryhau opened this issue · 2 comments

Adding this to the constructor should do the trick.

if(useDepth)
clearbits |= GL10.GL_DEPTH_BUFFER_BIT;

Thanks.

Great, thanks for bringing it up!

Fixed in commit 0224bdf.