summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.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_gl.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_gl.c')
-rw-r--r--libvo/vo_gl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 7bd85ed7e8..1d423385c5 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -796,6 +796,11 @@ static int control(uint32_t request, void *data, ...)
vo_x11_fullscreen();
#endif
return VO_TRUE;
+#ifdef GL_WIN32
+ case VOCTRL_BORDER:
+ vo_w32_border();
+ return VO_TRUE;
+#endif
case VOCTRL_GET_PANSCAN:
if (!use_aspect) return VO_NOTIMPL;
return VO_TRUE;