summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-21 09:59:45 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-21 09:59:45 +0000
commit6f4bba6b615b82aa57977bbea715d686d92f3d7d (patch)
tree1864784d20cffa1a18bd241bee9b95b84e869703 /libvo/vo_gl.c
parente97df206920e1b6aa925b966367d0651742761f8 (diff)
downloadmpv-6f4bba6b615b82aa57977bbea715d686d92f3d7d.tar.bz2
mpv-6f4bba6b615b82aa57977bbea715d686d92f3d7d.tar.xz
-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
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index f0b9d311c8..3bdd2b0aba 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -79,13 +79,11 @@ static unsigned int slice_height = 1;
static void resize(int x,int y){
mp_msg(MSGT_VO, MSGL_V, "[gl] Resize: %dx%d\n",x,y);
-#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 );
glMatrixMode(GL_PROJECTION);