revision 478:57f73576c974
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 478:57f73576c974 |
parent | 477:9a373f2ff009 |
child | 479:e030b18d2744 |
author | nkeynes |
date | Wed Oct 31 09:11:14 2007 +0000 (16 years ago) |
Add warning for non-direct rendering
1.1 --- a/src/drivers/video_x11.c Wed Oct 31 09:10:23 2007 +00001.2 +++ b/src/drivers/video_x11.c Wed Oct 31 09:11:14 2007 +00001.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.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);
.