summaryrefslogtreecommitdiffstats
path: root/video/out/vo_direct3d.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-29 03:32:56 +0100
committerwm4 <wm4@nowhere>2014-03-29 03:40:49 +0100
commitd27613b690e636dfa2c46b40714a4bf8a2110537 (patch)
tree055d140a01b1e3e9bf963d243f53399bea1538f4 /video/out/vo_direct3d.c
parentbd0618f01f1331c1ba0a3b2bb65975b5a21fe2e2 (diff)
downloadmpv-d27613b690e636dfa2c46b40714a4bf8a2110537.tar.bz2
mpv-d27613b690e636dfa2c46b40714a4bf8a2110537.tar.xz
Fix compilation on OSX and win32
Probably.
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r--video/out/vo_direct3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c
index 6d431cf0bb..d4100066d5 100644
--- a/video/out/vo_direct3d.c
+++ b/video/out/vo_direct3d.c
@@ -1284,7 +1284,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)
priv->src_width = params->w;
priv->src_height = params->h;
- priv->params = params;
+ priv->params = *params;
init_rendering_mode(priv, params->imgfmt, true);
}