diff options
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 8b19e30d21..73ab5dbf82 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -155,6 +155,7 @@ static void resize(int x,int y){ glMatrixMode(GL_PROJECTION); glLoadIdentity(); + ass_border_x = ass_border_y = 0; if (vo_fs && use_aspect) { int new_w, new_h; GLdouble scale_x, scale_y; @@ -1137,7 +1138,7 @@ static int control(uint32_t request, void *data) resize(vo_dwidth, vo_dheight); return VO_TRUE; case VOCTRL_BORDER: - vo_gl_border(global_vo); + vo_gl_border(); resize(vo_dwidth, vo_dheight); return VO_TRUE; case VOCTRL_GET_PANSCAN: |