Search
lxdream.org :: lxdream :: r1080:5b17c9900d9e
lxdream 0.9.1
released Jun 29
Download Now
changeset1080:5b17c9900d9e
parent1079:691f9f621c5a
child1081:ef31ae97bb8b
authornkeynes
dateTue Dec 01 17:59:43 2009 +1000 (11 years ago)
Skip drawing the frame when using the null driver - some GL implementations
crash otherwise
src/pvr2/pvr2.c
1.1 --- a/src/pvr2/pvr2.c Thu Oct 08 09:32:04 2009 +1000
1.2 +++ b/src/pvr2/pvr2.c Tue Dec 01 17:59:43 2009 +1000
1.3 @@ -370,7 +370,7 @@
1.4
1.5 void pvr2_draw_frame()
1.6 {
1.7 - if( display_driver != NULL ) {
1.8 + if( display_driver != NULL && display_driver != &display_null_driver ) {
1.9 if( force_vsync ) {
1.10 glDrawBuffer( GL_BACK );
1.11 pvr2_draw_base_frame();
.