Skip to content

Commit

Permalink
Fixed Direct3DCreate9Ex prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 31, 2014
1 parent 0c6b99d commit 18c31de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windows/SDL_windowsvideo.c
Expand Up @@ -185,7 +185,7 @@ D3D_LoadDLL( void **pD3DDLL, IDirect3D9 **pDirect3D9Interface )
*pD3DDLL = SDL_LoadObject("D3D9.DLL");
if (*pD3DDLL) {
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;
Direct3DCreate9Ex_t Direct3DCreate9ExFunc;

Expand Down

0 comments on commit 18c31de

Please sign in to comment.