diff options
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r-- | video/out/vo_direct3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 6770cba1c1..5d42cd7d6e 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -1271,7 +1271,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags) /* w32_common framework call. Creates window on the screen with * the given coordinates. */ - if (!vo_w32_config(vo, vo->dwidth, vo->dheight, flags)) { + if (!vo_w32_config(vo, flags)) { MP_VERBOSE(priv, "Creating window failed.\n"); return VO_ERROR; } |