changeset 1752:39fc6cc71b3b

vo_window bug fixed
author pontscho
date Wed, 29 Aug 2001 17:27:16 +0000
parents d0dbc020f50f
children a411db476483
files libvo/vo_x11.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Wed Aug 29 17:17:21 2001 +0000
+++ b/libvo/vo_x11.c	Wed Aug 29 17:27:16 2001 +0000
@@ -166,8 +166,10 @@
  if ( depth != 15 && depth != 16 && depth != 24 && depth != 32 ) depth=24;
  XMatchVisualInfo( mDisplay,mScreen,depth,TrueColor,&vinfo );
 
+#ifdef HAVE_NEW_GUI
  if ( vo_window != None ) { mywindow=vo_window; mygc=vo_gc; }
   else
+#endif   
    {
     if ( X_already_started ) return -1;
     if( !vo_init() ) return 0; // Can't open X11