git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4967 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2015-08-20 03:58:15 +00:00
parent 972677cde0
commit e1a096bac2

View file

@ -78,7 +78,7 @@ enum
#ifdef AVAIL_DINPUT #ifdef AVAIL_DINPUT
#ifndef _MSC_VER #ifndef _MSC_VER
#define DIRECTINPUT_VERSION 0x0500 #define DIRECTINPUT_VERSION 0x0700
#endif #endif
#include <dinput.h> #include <dinput.h>
@ -754,6 +754,7 @@ void INS_CloseDInput (void)
IDirectInput7_Release(g_pdi7); IDirectInput7_Release(g_pdi7);
g_pdi7 = NULL; g_pdi7 = NULL;
} }
pDirectInputCreateEx = NULL;
#endif #endif
if (g_pMouse) if (g_pMouse)
{ {
@ -770,7 +771,6 @@ void INS_CloseDInput (void)
FreeLibrary(hInstDI); FreeLibrary(hInstDI);
hInstDI = NULL; hInstDI = NULL;
pDirectInputCreate = NULL; pDirectInputCreate = NULL;
pDirectInputCreateEx = NULL;
} }
} }