Commit 3f4d4dab authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

Define the main directx8 entrypoint.

parent 331fb086
......@@ -53,7 +53,7 @@ HRESULT WINAPI DebugSetMute(void)
return 0;
}
LPVOID WINAPI Direct3DCreate8(UINT SDKVersion)
IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion)
{
IDirect3D8Impl *object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3D8Impl));
......@@ -66,7 +66,7 @@ LPVOID WINAPI Direct3DCreate8(UINT SDKVersion)
/* Dump out the gl supported features
TRACE("GL_Extensions reported: %s\n", glGetString(GL_EXTENSIONS)); */
return object;
return (IDirect3D8 *)object;
}
/* At process attach */
......
......@@ -725,4 +725,7 @@ ICOM_DEFINE(IDirect3DVolumeTexture8,IDirect3DBaseTexture8)
#define IDirect3DVolumeTexture8_UnlockBox(p,a) ICOM_CALL1(UnlockBox,p,a)
#define IDirect3DVolumeTexture8_AddDirtyBox(p,a) ICOM_CALL1(AddDirtyBox,p,a)
/* Define the main entrypoint as well */
IDirect3D8* WINAPI Direct3DCreate8(UINT SDKVersion);
#endif /* __WINE_D3D8_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment