vo_corevideo: use dwidth/dheight for window dimensions

In the previous commit I wrongly used params->d_h/d_w which happened to work
by chance.
This commit is contained in:
Stefano Pigozzi 2013-08-25 21:11:36 +02:00
parent dc2ebae8cf
commit c2cb85851f
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)
int mpgl_caps = MPGL_CAP_GL_LEGACY;
if (!mpgl_config_window(
p->mpglctx, mpgl_caps, params->d_w, params->d_h, flags))
p->mpglctx, mpgl_caps, vo->dwidth, vo->dheight, flags))
return -1;
init_gl(vo, vo->dwidth, vo->dheight);