(MSVC 2010) Buildfix

This commit is contained in:
twinaphex 2020-07-03 08:04:15 +02:00
parent 4489e5490d
commit 108dc26c86

View File

@ -156,6 +156,7 @@ void d3d_input_driver(const char* input_name, const char* joypad_name,
*input_data = xinput;
#else
#if _WIN32_WINNT >= 0x0501
#ifdef HAVE_WINRAWINPUT
/* winraw only available since XP */
if (string_is_equal(input_name, "raw"))
{
@ -167,6 +168,7 @@ void d3d_input_driver(const char* input_name, const char* joypad_name,
}
}
#endif
#endif
#ifdef HAVE_DINPUT
*input_data = input_dinput.init(joypad_name);