From b92fd602ced5f71e843ef87edf3de6cf68b05b12 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 31 Oct 2015 12:52:02 +0100 Subject: 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. --- video/out/w32_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/w32_common.h') diff --git a/video/out/w32_common.h b/video/out/w32_common.h index 094660a34f..88cc664bf2 100644 --- a/video/out/w32_common.h +++ b/video/out/w32_common.h @@ -29,7 +29,7 @@ struct vo; int vo_w32_init(struct vo *vo); void vo_w32_uninit(struct vo *vo); int vo_w32_control(struct vo *vo, int *events, int request, void *arg); -int vo_w32_config(struct vo *vo); +void vo_w32_config(struct vo *vo); HWND vo_w32_hwnd(struct vo *vo); void vo_w32_run_on_thread(struct vo *vo, void (*cb)(void *ctx), void *ctx); -- cgit v1.2.3