Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset 651:95a9cf98785b
prev649:620c5c6496b5
next1066:ddffe9d2b332
author nkeynes
date Sun Mar 16 05:42:24 2008 +0000 (12 years ago)
branchlxdream-render
permissions -rw-r--r--
last change Ensure depth buffer is unmasked before clearig
file annotate diff log raw
1.1 --- a/src/pvr2/glrender.c Tue Mar 11 08:50:16 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 */
.