Search
lxdream.org :: lxdream :: r651:95a9cf98785b
lxdream 0.9.1
released Jun 29
Download Now
changeset651:95a9cf98785b lxdream-render
parent650:80568a7a1ec7
child652:231ca5cbd397
authornkeynes
dateSun Mar 16 05:42:24 2008 +0000 (11 years ago)
branchlxdream-render
Ensure depth buffer is unmasked before clearig
src/pvr2/glrender.c
1.1 --- a/src/pvr2/glrender.c Sun Mar 16 04:49:19 2008 +0000
1.2 +++ b/src/pvr2/glrender.c Sun Mar 16 05:42:24 2008 +0000
1.3 @@ -252,6 +252,7 @@
1.4
1.5 /* Clear the buffer (FIXME: May not want always want to do this) */
1.6 glDisable( GL_SCISSOR_TEST );
1.7 + glDepthMask( GL_TRUE );
1.8 glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT );
1.9
1.10 /* Setup vertex array pointers */
.