Search
lxdream.org :: lxdream/src/pvr2/render.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/render.c
changeset 337:cdd757aa8e8c
prev333:e29561c998f5
next338:8c68d9097846
author nkeynes
date Sun Jan 28 11:36:00 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Invalidate palette textures when the palette changes (fixes a few texture
bugs)
Fix odd/even selection in pvr2_display_frame
file annotate diff log raw
1.1 --- a/src/pvr2/render.c Sat Jan 27 06:21:35 2007 +0000
1.2 +++ b/src/pvr2/render.c Sun Jan 28 11:36:00 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: render.c,v 1.21 2007-01-27 06:21:35 nkeynes Exp $
1.6 + * $Id: render.c,v 1.22 2007-01-28 11:36:00 nkeynes Exp $
1.7 *
1.8 * PVR2 Renderer support. This part is primarily
1.9 *
1.10 @@ -180,6 +180,8 @@
1.11 back_buffer.scale = MMIO_READ( PVR2, RENDER_SCALER );
1.12 back_buffer.size = width * height * colour_format_bytes[colour_format];
1.13
1.14 + pvr2_check_palette_changed();
1.15 +
1.16 /* Setup the display model */
1.17 glDrawBuffer(GL_BACK);
1.18 glShadeModel(GL_SMOOTH);
1.19 @@ -260,5 +262,5 @@
1.20 glPrintf( 4, 16, "Frame %d", pvr2_get_frame_count() );
1.21 /* Generate end of render event */
1.22 asic_event( EVENT_PVR_RENDER_DONE );
1.23 - DEBUG( "Rendered frame %d", pvr2_get_frame_count() );
1.24 + DEBUG( "Rendered frame %d to %08X", pvr2_get_frame_count(), render_addr );
1.25 }
.