Commit fe9db6fa authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

d3dx9_36: Add stub for D3DXCreateCylinder.

parent 30be5879
......@@ -45,7 +45,7 @@
@ stub D3DXCreateCubeTextureFromResourceExA
@ stub D3DXCreateCubeTextureFromResourceExW
@ stub D3DXCreateCubeTextureFromResourceW
@ stub D3DXCreateCylinder
@ stdcall D3DXCreateCylinder(ptr long long long long long ptr ptr)
@ stdcall D3DXCreateEffect(ptr ptr long ptr ptr long ptr ptr ptr)
@ stdcall D3DXCreateEffectCompiler(ptr long ptr ptr long ptr ptr)
@ stdcall D3DXCreateEffectCompilerFromFileA(str ptr ptr long ptr ptr)
......
......@@ -1289,6 +1289,14 @@ HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device, FLOAT radius, UINT sli
return D3D_OK;
}
HRESULT WINAPI D3DXCreateCylinder(LPDIRECT3DDEVICE9 device, FLOAT radius1, FLOAT radius2, FLOAT length, UINT slices,
UINT stacks, LPD3DXMESH* mesh, LPD3DXBUFFER* adjacency)
{
FIXME("(%p, %f, %f, %f, %u, %u, %p, %p): stub\n", device, radius1, radius2, length, slices, stacks, mesh, adjacency);
return E_NOTIMPL;
}
HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device, LPD3DXMESH *mesh, LPD3DXBUFFER* adjacency)
{
FIXME("(%p, %p, %p): stub\n", device, mesh, adjacency);
......
......@@ -39,6 +39,15 @@ HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device,
LPD3DXMESH* mesh,
LPD3DXBUFFER* adjacency);
HRESULT WINAPI D3DXCreateCylinder(LPDIRECT3DDEVICE9 device,
FLOAT radius1,
FLOAT radius2,
FLOAT length,
UINT slices,
UINT stacks,
LPD3DXMESH *mesh,
LPD3DXBUFFER *adjacency);
HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device,
LPD3DXMESH *mesh,
LPD3DXBUFFER *adjacency);
......
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