Misha Koshelev : d3dx9_36: Add stub for D3DXCreateTeapot.
Alexandre Julliard
julliard at winehq.org
Fri Sep 24 11:43:45 CDT 2010
Module: wine
Branch: master
Commit: 10af823fd59ed0e49068d487b9e99c527777d8b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=10af823fd59ed0e49068d487b9e99c527777d8b6
Author: Misha Koshelev <misha680 at gmail.com>
Date: Thu Sep 23 16:22:15 2010 -0500
d3dx9_36: Add stub for D3DXCreateTeapot.
---
dlls/d3dx9_36/d3dx9_36.spec | 2 +-
dlls/d3dx9_36/mesh.c | 7 +++++++
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dx9_36/d3dx9_36.spec b/dlls/d3dx9_36/d3dx9_36.spec
index 133ce16..8221118 100644
--- a/dlls/d3dx9_36/d3dx9_36.spec
+++ b/dlls/d3dx9_36/d3dx9_36.spec
@@ -89,7 +89,7 @@
@ stub D3DXCreateSkinInfoFVF
@ stdcall D3DXCreateSphere(ptr float long long ptr ptr)
@ stdcall D3DXCreateSprite(ptr ptr)
-@ stub D3DXCreateTeapot
+@ stdcall D3DXCreateTeapot(ptr ptr ptr)
@ stub D3DXCreateTextA
@ stub D3DXCreateTextW
@ stdcall D3DXCreateTexture(ptr long long long long long long ptr)
diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 3e5dd47..21ca2dc 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -1070,3 +1070,10 @@ HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device, FLOAT radius, UINT sli
return E_NOTIMPL;
}
+
+HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device, LPD3DXMESH *mesh, LPD3DXBUFFER* adjacency)
+{
+ FIXME("(%p, %p, %p): stub\n", device, mesh, adjacency);
+
+ return E_NOTIMPL;
+}
More information about the wine-cvs
mailing list