Search
lxdream.org :: lxdream/src/pvr2/pvr2.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.c
changeset 921:6c0e9a8f5618
prev916:6fbba9e71516
next929:fd8cb0c82f5f
next953:f4a156508ad1
author nkeynes
date Thu Dec 11 21:33:08 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Only call finish_rendering() for texture renders - workaround bug in apple/intel drivers
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.c Fri Nov 07 07:39:52 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 }
.