From e6bcec1c6b68cc979a4cceeae061cbb7d644f649 Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 14 May 2002 23:44:35 +0000 Subject: some cleanup, gl/gl2 updated to use vo_window git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xmga.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libvo/vo_xmga.c') diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c index 90768f0e81..90ed5acbd9 100644 --- a/libvo/vo_xmga.c +++ b/libvo/vo_xmga.c @@ -77,8 +77,6 @@ static XImage * myximage; 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 @@ static uint32_t config( uint32_t width, uint32_t height, uint32_t d_width, uint3 unsigned long xswamask; - if ( X_already_started ) return -1; if (!vo_init()) return -1; width+=width&1; @@ -337,7 +334,7 @@ uninit(void) inited=0; mga_uninit(); saver_on(mDisplay); - vo_x11_uninit(mDisplay, vo_window); + vo_x11_uninit(); printf("vo: uninit!\n"); } -- cgit v1.2.3