summaryrefslogtreecommitdiffstats
path: root/video/out/vo_direct3d.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-06 23:01:19 +0200
committerwm4 <wm4@nowhere>2014-05-06 23:04:33 +0200
commit41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8 (patch)
tree6416bd12f9b23fb1b0077f5e8258faeeebd84d89 /video/out/vo_direct3d.c
parent836893fed92c0bf0e893520caa1a38e00f6bab1b (diff)
downloadmpv-41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8.tar.bz2
mpv-41b1ed7b2e227ef27310b0a8d2c6a5772fcf95e8.tar.xz
win32: don't use VOCTRL_UPDATE_SCREENINFO
Not very tested. At least it compiles.
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 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;
}