d3dx9: Return a mesh in D3DXCreateTeapot().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36884 Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
84f2249284
commit
135d458d34
|
@ -5166,9 +5166,9 @@ HRESULT WINAPI D3DXCreateCylinder(struct IDirect3DDevice9 *device, float radius1
|
||||||
HRESULT WINAPI D3DXCreateTeapot(struct IDirect3DDevice9 *device,
|
HRESULT WINAPI D3DXCreateTeapot(struct IDirect3DDevice9 *device,
|
||||||
struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency)
|
struct ID3DXMesh **mesh, struct ID3DXBuffer **adjacency)
|
||||||
{
|
{
|
||||||
FIXME("(%p, %p, %p): stub\n", device, mesh, adjacency);
|
FIXME("device %p, mesh %p, adjacency %p semi-stub.\n", device, mesh, adjacency);
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return D3DXCreateSphere(device, 1.0f, 4, 4, mesh, adjacency);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI D3DXCreateTextA(struct IDirect3DDevice9 *device, HDC hdc, const char *text, float deviation,
|
HRESULT WINAPI D3DXCreateTextA(struct IDirect3DDevice9 *device, HDC hdc, const char *text, float deviation,
|
||||||
|
|
Loading…
Reference in New Issue