Search
lxdream.org :: lxdream :: r921:6c0e9a8f5618
lxdream 0.9.1
released Jun 29
Download Now
changeset921:6c0e9a8f5618
parent920:1e6a29649b56
child922:8a8361264b1e
authornkeynes
dateThu Dec 11 21:33:08 2008 +0000 (11 years ago)
Only call finish_rendering() for texture renders - workaround bug in apple/intel drivers
src/pvr2/pvr2.c
1.1 --- a/src/pvr2/pvr2.c Thu Dec 04 09:06:35 2008 +0000
1.2 +++ b/src/pvr2/pvr2.c Thu Dec 11 21:33:08 2008 +0000
1.3 @@ -490,11 +490,11 @@
1.4 render_buffer_t buffer = pvr2_next_render_buffer();
1.5 if( buffer != NULL ) {
1.6 pvr2_scene_render( buffer );
1.7 - pvr2_finish_render_buffer( buffer );
1.8 if( buffer->address < PVR2_RAM_BASE ) {
1.9 // Flush immediately - optimize this later. Otherwise this gets
1.10 // complicated very quickly trying to second-guess how it's
1.11 // going to be used as a texture.
1.12 + pvr2_finish_render_buffer( buffer );
1.13 pvr2_render_buffer_copy_to_sh4( buffer );
1.14 }
1.15 }
.