summaryrefslogtreecommitdiffstats
path: root/video/out/w32_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-31 12:52:02 +0100
committerwm4 <wm4@nowhere>2015-10-31 12:52:02 +0100
commitb92fd602ced5f71e843ef87edf3de6cf68b05b12 (patch)
tree21b65a792fd0f07d0d41191e1cecfe78b1492d0f /video/out/w32_common.c
parent7984d25ceb67de0ba6e5a34b75f45a705bd015fd (diff)
downloadmpv-b92fd602ced5f71e843ef87edf3de6cf68b05b12.tar.bz2
mpv-b92fd602ced5f71e843ef87edf3de6cf68b05b12.tar.xz
vo_direct3d: fix operation
Regression since commit 93db4233. I think the bit that was forgotten here was to remove the vo_w32_config() return value completely. The VO failed to init because that function always returned 0. This commit removes these bits and fixes the VO. Fixes #2434.
Diffstat (limited to 'video/out/w32_common.c')
-rw-r--r--video/out/w32_common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c
index c0396b2fa2..266dfbc69d 100644
--- a/video/out/w32_common.c
+++ b/video/out/w32_common.c
@@ -1088,11 +1088,10 @@ static void gui_thread_reconfig(void *ptr)
}
// Resize the window. On the first call, it's also made visible.
-int vo_w32_config(struct vo *vo)
+void vo_w32_config(struct vo *vo)
{
struct vo_w32_state *w32 = vo->w32;
mp_dispatch_run(w32->dispatch, gui_thread_reconfig, w32);
- return 0;
}
static void thread_disable_ime(void)