mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4967 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
972677cde0
commit
e1a096bac2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue