Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset 684:95f2068235ef
prev677:3ee62740ff8f
next687:6bdc2b7032ea
author nkeynes
date Sun Jun 01 08:58:46 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Tweak far-clip-plane to cope with borderline vertexes
file annotate diff log raw
1.1 --- a/src/pvr2/glrender.c Thu May 29 10:50:25 2008 +0000
1.2 +++ b/src/pvr2/glrender.c Sun Jun 01 08:58:46 2008 +0000
1.3 @@ -258,7 +258,7 @@
1.4 farz*= 2.0;
1.5 }
1.6 glOrtho( 0, pvr2_scene.buffer_width, pvr2_scene.buffer_height, 0,
1.7 - -farz, -nearz );
1.8 + -farz-1, -nearz );
1.9 float alphaRef = ((float)(MMIO_READ(PVR2, RENDER_ALPHA_REF)&0xFF)+1)/256.0;
1.10 glAlphaFunc( GL_GEQUAL, alphaRef );
1.11
.