Search
lxdream.org :: lxdream/src/drivers/video_x11.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_x11.c
changeset 478:57f73576c974
prev442:c0dcf22c8e08
next481:3b2d6c5a19ad
author nkeynes
date Wed Oct 31 09:11:14 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add warning for non-direct rendering
file annotate diff log raw
1.1 --- a/src/drivers/video_x11.c Sat Oct 13 04:00: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
.