From 6f4bba6b615b82aa57977bbea715d686d92f3d7d Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 21 Aug 2005 09:59:45 +0000 Subject: -wid support for windows. Not well tested, might still behave a bit weird. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16283 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libvo/vo_gl2.c') diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 3838523bfc..4af5a4a9aa 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -504,13 +504,11 @@ static void resize(int *x,int *y){ glViewport( (vo_screenwidth-*x)/2, (vo_screenheight-*y)/2, *x, *y); } else { //aspect(x, y, A_NOZOOM); -#ifndef GL_WIN32 if (WinID >= 0) { int top = 0, left = 0, w = *x, h = *y; geometry(&top, &left, &w, &h, vo_screenwidth, vo_screenheight); glViewport(top, left, w, h); } else -#endif glViewport( 0, 0, *x, *y ); } -- cgit v1.2.3