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