summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl2.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-17 20:49:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-17 20:49:46 +0000
commit28b32a786a126703679f099b6c7bbb5255e2aa99 (patch)
treeb037004ab48cef1ae0c524720bc7f3c745115e6a /libvo/vo_gl2.c
parent618d511e437d4210802c457df4787909ae3dad43 (diff)
downloadmpv-28b32a786a126703679f099b6c7bbb5255e2aa99.tar.bz2
mpv-28b32a786a126703679f099b6c7bbb5255e2aa99.tar.xz
Enable border toggling for gl and gl2 under windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl2.c')
-rw-r--r--libvo/vo_gl2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index c5546b961c..4bac77ff76 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -1135,6 +1135,11 @@ static int control(uint32_t request, void *data, ...)
initGl(vo_dwidth, vo_dheight);
resize(&vo_dwidth, &vo_dheight);
return VO_TRUE;
+#ifdef GL_WIN32
+ case VOCTRL_BORDER:
+ vo_w32_border();
+ return VO_TRUE;
+#endif
case VOCTRL_GET_PANSCAN:
return VO_TRUE;
case VOCTRL_SET_PANSCAN: