mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
fix building on windows without dinput
This commit is contained in:
parent
ffbb439fb5
commit
614521b238
@ -628,9 +628,11 @@ static void gfx_ctx_wgl_input_driver(void *data,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DINPUT
|
||||
dinput_wgl = input_dinput.init(joypad_name);
|
||||
*input = dinput_wgl ? &input_dinput : NULL;
|
||||
*input_data = dinput_wgl;
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool gfx_ctx_wgl_has_focus(void *data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user