Fixed Direct3DCreate9Ex prototype
authorSam Lantinga <slouken@libsdl.org>
Sat, 31 May 2014 11:53:19 -0700
changeset 8794 ea11a613203c
parent 8793 357193514f2f
child 8795 513d97ffe10d
Fixed Direct3DCreate9Ex prototype
src/video/windows/SDL_windowsvideo.c
--- a/src/video/windows/SDL_windowsvideo.c	Sat May 31 11:48:52 2014 -0700
+++ b/src/video/windows/SDL_windowsvideo.c	Sat May 31 11:53:19 2014 -0700
@@ -185,7 +185,7 @@
     *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;