ソースを参照

Fixed Direct3DCreate9Ex prototype

Sam Lantinga 11 年 前
コミット
18c31dec54
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/video/windows/SDL_windowsvideo.c

+ 1 - 1
src/video/windows/SDL_windowsvideo.c

@@ -185,7 +185,7 @@ D3D_LoadDLL( void **pD3DDLL, IDirect3D9 **pDirect3D9Interface )
     *pD3DDLL = SDL_LoadObject("D3D9.DLL");
     *pD3DDLL = SDL_LoadObject("D3D9.DLL");
     if (*pD3DDLL) {
     if (*pD3DDLL) {
         typedef IDirect3D9 *(WINAPI *Direct3DCreate9_t) (UINT SDKVersion);
         typedef IDirect3D9 *(WINAPI *Direct3DCreate9_t) (UINT SDKVersion);
-        typedef HRESULT *(WINAPI *Direct3DCreate9Ex_t)(UINT SDKVersion, IDirect3D9Ex **ppD3D);
+        typedef HRESULT (WINAPI *Direct3DCreate9Ex_t)(UINT SDKVersion, IDirect3D9Ex **ppD3D);
         Direct3DCreate9_t Direct3DCreate9Func;
         Direct3DCreate9_t Direct3DCreate9Func;
         Direct3DCreate9Ex_t Direct3DCreate9ExFunc;
         Direct3DCreate9Ex_t Direct3DCreate9ExFunc;