[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] d3dx9: Return a mesh in D3DXCreateTeapot().
From: Matteo Bruni <mbruni () codeweavers ! com>
Date: 2018-07-31 13:04:48
Message-ID: 20180731130453.13705-1-mbruni () codeweavers ! com
[Download RAW message or body]
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
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>
---
dlls/d3dx9_36/mesh.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 62acd211148..acbb2477670 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -5166,9 +5166,9 @@ HRESULT WINAPI D3DXCreateCylinder(struct IDirect3DDevice9 \
*device, float radius1 HRESULT WINAPI D3DXCreateTeapot(struct IDirect3DDevice9 \
*device, 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,
--
2.16.4
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic