Define the main directx8 entrypoint.
This commit is contained in:
parent
331fb086be
commit
3f4d4dab65
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue