From e1e9b6ef1c460da98bde3c0de179bd6a7790d3dd Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Tue, 24 Oct 2017 21:40:45 +0900 Subject: win32: recover from D3DERR_DEVICELOST --- pacc/pacc-win.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pacc/pacc-win.h') diff --git a/pacc/pacc-win.h b/pacc/pacc-win.h index e8bacc1..e96010a 100644 --- a/pacc/pacc-win.h +++ b/pacc/pacc-win.h @@ -15,7 +15,7 @@ struct pacc_win_vtable { void (*renderctrl)(struct pacc_ctx *ctx, bool enable); }; -struct pacc_ctx *pacc_init_d3d9(HWND hwnd, pacc_rendercb *rendercb, void *renderptr, struct pacc_vtable *vt, struct pacc_win_vtable *winvt, UINT msg_reset, HWND msg_wnd); +struct pacc_ctx *pacc_init_d3d9(HWND hwnd, int w, int h, pacc_rendercb *rendercb, void *renderptr, struct pacc_vtable *vt, struct pacc_win_vtable *winvt, UINT msg_reset, HWND msg_wnd); #endif // MYON_PACC_WIN_H_INCLUDED -- cgit v1.2.3