diff libvo/vo_xmga.c @ 6095:891cff8aba60

some cleanup, gl/gl2 updated to use vo_window
author arpi
date Tue, 14 May 2002 23:44:35 +0000
parents c0ae8c0eda72
children 74115095d9fe
line wrap: on
line diff
--- a/libvo/vo_xmga.c	Tue May 14 22:33:30 2002 +0000
+++ b/libvo/vo_xmga.c	Tue May 14 23:44:35 2002 +0000
@@ -77,8 +77,6 @@
 
 static uint32_t               mDepth, bpp, mode;
 static XWindowAttributes      attribs;
-static uint32_t               X_already_started=0;
-
 static uint32_t               fgColor;
 
 static uint32_t               mvHeight;
@@ -195,7 +193,6 @@
 
  unsigned long          xswamask;
 
- if ( X_already_started ) return -1;
  if (!vo_init()) return -1;
 
  width+=width&1;
@@ -337,7 +334,7 @@
  inited=0;
  mga_uninit();
  saver_on(mDisplay);
- vo_x11_uninit(mDisplay, vo_window);
+ vo_x11_uninit();
  printf("vo: uninit!\n");
 }