Search
lxdream.org :: lxdream/src/pvr2/render.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/render.c
changeset 477:9a373f2ff009
prev429:e581b90c3fb3
next561:533f6b478071
author nkeynes
date Wed Oct 31 09:10:23 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Add save/restore of render buffers in save states
Gzip memory blocks in save states
Move front-buffer management back to pvr2
Add screenshot preview when loading save states
Various minor fixes and cleanups
file annotate diff log raw
1.1 --- a/src/pvr2/render.c Mon Oct 08 11:52:13 2007 +0000
1.2 +++ b/src/pvr2/render.c Wed Oct 31 09:10:23 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: render.c,v 1.25 2007-10-08 11:52:13 nkeynes Exp $
1.6 + * $Id: render.c,v 1.26 2007-10-31 09:10:23 nkeynes Exp $
1.7 *
1.8 * PVR2 Renderer support. This part is primarily
1.9 *
1.10 @@ -106,6 +106,8 @@
1.11 glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
1.12 glClearDepth(0);
1.13 glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
1.14 + glEnableClientState( GL_COLOR_ARRAY );
1.15 + glEnableClientState( GL_VERTEX_ARRAY );
1.16 }
1.17
1.18 /**
.