summaryrefslogtreecommitdiffstats
path: root/video/out/vo_direct3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r--video/out/vo_direct3d.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c
index 4ee5e66d32..76c92ca339 100644
--- a/video/out/vo_direct3d.c
+++ b/video/out/vo_direct3d.c
@@ -1333,13 +1333,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params)
priv->have_image = false;
- /* w32_common framework call. Creates window on the screen with
- * the given coordinates.
- */
- if (!vo_w32_config(vo)) {
- MP_VERBOSE(priv, "Creating window failed.\n");
- return VO_ERROR;
- }
+ vo_w32_config(vo);
if ((priv->image_format != params->imgfmt)
|| (priv->src_width != params->w)