[PATCH] d3dx9_36: Return a mesh in D3DXCreateTeapot
André Hentschel
nerv at dawncrow.de
Fri Jul 13 12:51:28 CDT 2018
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Fixes https://bugs.winehq.org/show_bug.cgi?id=36884
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
dlls/d3dx9_36/mesh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 62acd21..10b5f9b 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -5168,7 +5168,7 @@ HRESULT WINAPI D3DXCreateTeapot(struct IDirect3DDevice9 *device,
{
FIXME("(%p, %p, %p): 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,
--
2.7.4
More information about the wine-devel
mailing list