diff libvo/vo_gl.c @ 7931:48c71b6c7389

vo_init() moved to/fixed in preinit()
author arpi
date Sun, 27 Oct 2002 03:16:21 +0000
parents ed7b05575aab
children 5b39e79af5fe
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sun Oct 27 03:15:48 2002 +0000
+++ b/libvo/vo_gl.c	Sun Oct 27 03:16:21 2002 +0000
@@ -428,7 +428,7 @@
 	return ENOSYS;
     }
 
-	if(!vo_init()) return 1;
+    if( !vo_init() ) return -1; // Can't open X11
 
     return 0;
 }