Fix calling convention of the d3d9createex function. May help #7421

This commit is contained in:
Henrik Rydgard committed 2015-02-03 21:27:26 +01:00
1 parent d4d0d334cb
commit 9b9d8592db
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ Thin3DContext *D3D9_CreateThin3DContext() {
return T3DCreateDX9Context(d3d, d3dEx, adapterId, device, deviceEx);
}
typedef HRESULT (*DIRECT3DCREATE9EX)(UINT, IDirect3D9Ex**);
typedef HRESULT (__stdcall *DIRECT3DCREATE9EX)(UINT, IDirect3D9Ex**);
bool IsWin7OrLater() {
DWORD version = GetVersion();