Search
lxdream.org :: lxdream :: r478:57f73576c974
lxdream 0.9.1
released Jun 29
Download Now
changeset478:57f73576c974
parent477:9a373f2ff009
child479:e030b18d2744
authornkeynes
dateWed Oct 31 09:11:14 2007 +0000 (16 years ago)
Add warning for non-direct rendering
src/drivers/video_x11.c
1.1 --- a/src/drivers/video_x11.c Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/drivers/video_x11.c Wed Oct 31 09:11:14 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: video_x11.c,v 1.18 2007-10-13 04:00:23 nkeynes Exp $
1.6 + * $Id: video_x11.c,v 1.19 2007-10-31 09:11:14 nkeynes Exp $
1.7 *
1.8 * Shared functions for all X11-based display drivers.
1.9 *
1.10 @@ -53,6 +53,10 @@
1.11 return FALSE;
1.12 }
1.13
1.14 + if( !glXIsDirect(video_x11_display, glx_context) ) {
1.15 + WARN( "Not using direct rendering - this is likely to be slow" );
1.16 + }
1.17 +
1.18 if( gl_fbo_is_supported() ) {
1.19 gl_fbo_init(driver);
1.20
.