mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed MinGW build from Linux.
This commit is contained in:
parent
c46aa66812
commit
4b1b62e6bd
2 changed files with 13 additions and 1 deletions
|
@ -23,6 +23,10 @@
|
|||
# define XINPUT_GAMEPAD_GUIDE 0x400
|
||||
#endif // XINPUT_GAMEPAD_GUIDE
|
||||
|
||||
#ifndef XINPUT_DLL_A
|
||||
# define XINPUT_DLL_A "xinput.dll"
|
||||
#endif // XINPUT_DLL_A
|
||||
|
||||
namespace entry
|
||||
{
|
||||
typedef DWORD (WINAPI* PFN_XINPUT_GET_STATE)(DWORD dwUserIndex, XINPUT_STATE* pState);
|
||||
|
|
|
@ -88,6 +88,14 @@ namespace bgfx
|
|||
# define D3DFMT_RAWZ ( (D3DFORMAT)BX_MAKEFOURCC('R', 'A', 'W', 'Z') )
|
||||
# endif // D3DFMT_RAWZ
|
||||
|
||||
# ifndef D3DFMT_S8_LOCKABLE
|
||||
# define D3DFMT_S8_LOCKABLE ( (D3DFORMAT)85)
|
||||
# endif // D3DFMT_S8_LOCKABLE
|
||||
|
||||
# ifndef D3DFMT_A1
|
||||
# define D3DFMT_A1 ( (D3DFORMAT)118)
|
||||
# endif // D3DFMT_A1
|
||||
|
||||
struct ExtendedFormat
|
||||
{
|
||||
enum Enum
|
||||
|
@ -327,7 +335,7 @@ namespace bgfx
|
|||
|
||||
void preReset();
|
||||
void postReset();
|
||||
|
||||
|
||||
union
|
||||
{
|
||||
IDirect3DBaseTexture9* m_ptr;
|
||||
|
|
Loading…
Reference in a new issue