summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 623a5aaefa..dfe52707b3 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -999,12 +999,10 @@ static int control(uint32_t request, void *data, ...)
vo_fullscreen();
resize(vo_dwidth, vo_dheight);
return VO_TRUE;
-#ifdef GL_WIN32
case VOCTRL_BORDER:
- vo_w32_border();
+ vo_border();
resize(vo_dwidth, vo_dheight);
return VO_TRUE;
-#endif
case VOCTRL_GET_PANSCAN:
if (!use_aspect) return VO_NOTIMPL;
return VO_TRUE;