Search
lxdream.org :: lxdream :: r299:d0c983d5ad59
lxdream 0.9.1
released Jun 29
Download Now
changeset299:d0c983d5ad59
parent298:44d94dd0e8aa
child300:a8ae4aeb0b42
authornkeynes
dateWed Jan 17 09:21:27 2007 +0000 (12 years ago)
Z-buffer should be cleared to 0, not the bgplanez
src/pvr2/render.c
1.1 --- a/src/pvr2/render.c Wed Jan 17 09:21:09 2007 +0000
1.2 +++ b/src/pvr2/render.c Wed Jan 17 09:21:27 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: render.c,v 1.15 2006-09-12 11:54:19 nkeynes Exp $
1.6 + * $Id: render.c,v 1.16 2007-01-17 09:21:27 nkeynes Exp $
1.7 *
1.8 * PVR2 Renderer support. This part is primarily
1.9 *
1.10 @@ -209,7 +209,7 @@
1.11 /* Clear out the buffers */
1.12 glDisable( GL_SCISSOR_TEST );
1.13 glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
1.14 - glClearDepth(bgplanez);
1.15 + glClearDepth(0);
1.16 glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
1.17 }
1.18
.