Search
lxdream.org :: lxdream/src/pvr2/pvr2.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.c
changeset 1080:5b17c9900d9e
prev1076:18c164e8aec4
next1157:20053990db61
author nkeynes
date Tue Dec 01 17:59:43 2009 +1000 (12 years ago)
permissions -rw-r--r--
last change Skip drawing the frame when using the null driver - some GL implementations
crash otherwise
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.c Mon Aug 03 08:41:11 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();
.