Search
lxdream.org :: lxdream/src/pvr2/rendbkg.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendbkg.c
changeset 649:620c5c6496b5
prev645:a7392098299c
author nkeynes
date Tue Mar 11 08:50:16 2008 +0000 (12 years ago)
branchlxdream-render
permissions -rw-r--r--
last change Use maxz rather than minz for tri sorting (better results atm)
Change depth-test-disable to depth-mask (more correct)
Implement alpha test for punchthru polys
file annotate diff log raw
1.1 --- a/src/pvr2/rendbkg.c Thu Mar 06 08:22:00 2008 +0000
1.2 +++ b/src/pvr2/rendbkg.c Tue Mar 11 08:50:16 2008 +0000
1.3 @@ -672,4 +672,6 @@
1.4 glDisable(GL_DEPTH_TEST);
1.5 glBlendFunc(GL_ONE, GL_ZERO); /* For now, just disable alpha blending on the bkg */
1.6 bkg_render_region(&scene, 0, screen_vertexes, 4, *polygon);
1.7 + glEnable(GL_CULL_FACE);
1.8 + glEnable(GL_DEPTH_TEST);
1.9 }
.