Search
lxdream.org :: lxdream/src/pvr2/render.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/render.c
changeset 308:10a5b5475fb0
prev299:d0c983d5ad59
next315:2d8ba198d62c
author nkeynes
date Sun Jan 21 11:28:43 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Enable blend by default - remove toggle on tex-alpha bit as its just plain
wrong
Implement UV clamping
file annotate diff log raw
1.1 --- a/src/pvr2/render.c Wed Jan 17 09:21:27 2007 +0000
1.2 +++ b/src/pvr2/render.c Sun Jan 21 11:28:43 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: render.c,v 1.16 2007-01-17 09:21:27 nkeynes Exp $
1.6 + * $Id: render.c,v 1.17 2007-01-21 11:28:43 nkeynes Exp $
1.7 *
1.8 * PVR2 Renderer support. This part is primarily
1.9 *
1.10 @@ -205,12 +205,14 @@
1.11 glMatrixMode(GL_MODELVIEW);
1.12 glLoadIdentity();
1.13 glCullFace( GL_BACK );
1.14 + glEnable( GL_BLEND );
1.15
1.16 /* Clear out the buffers */
1.17 glDisable( GL_SCISSOR_TEST );
1.18 glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
1.19 glClearDepth(0);
1.20 glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
1.21 +
1.22 }
1.23
1.24 /**
.