Christian Costa : d3dx9_36: Add stub for D3DXCheckTextureRequirements.
Alexandre Julliard
julliard at winehq.org
Mon Apr 5 11:23:00 CDT 2010
Module: wine
Branch: master
Commit: adc1aaf06b2a77f55a0ca65b8b456cad6dee4258
URL: http://source.winehq.org/git/wine.git/?a=commit;h=adc1aaf06b2a77f55a0ca65b8b456cad6dee4258
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Mon Apr 5 10:29:56 2010 +0200
d3dx9_36: Add stub for D3DXCheckTextureRequirements.
---
dlls/d3dx9_36/d3dx9_36.spec | 2 +-
dlls/d3dx9_36/texture.c | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/dlls/d3dx9_36/d3dx9_36.spec b/dlls/d3dx9_36/d3dx9_36.spec
index 1534348..5980d74 100644
--- a/dlls/d3dx9_36/d3dx9_36.spec
+++ b/dlls/d3dx9_36/d3dx9_36.spec
@@ -5,7 +5,7 @@
@ stdcall D3DXAssembleShaderFromResourceW(long wstr ptr ptr long ptr ptr)
@ stdcall D3DXBoxBoundProbe(ptr ptr ptr ptr)
@ stub D3DXCheckCubeTextureRequirements
-@ stub D3DXCheckTextureRequirements
+@ stdcall D3DXCheckTextureRequirements(ptr ptr ptr ptr long ptr ptr)
@ stdcall D3DXCheckVersion(long long)
@ stub D3DXCheckVolumeTextureRequirements
@ stub D3DXCleanMesh
diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c
index 3ab4541..7447d81 100644
--- a/dlls/d3dx9_36/texture.c
+++ b/dlls/d3dx9_36/texture.c
@@ -21,6 +21,19 @@
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
+HRESULT WINAPI D3DXCheckTextureRequirements(LPDIRECT3DDEVICE9 device,
+ UINT* width,
+ UINT* height,
+ UINT* miplevels,
+ DWORD usage,
+ D3DFORMAT* format,
+ D3DPOOL pool)
+{
+ FIXME("(%p, %p, %p, %p, %u, %p, %u): stub\n", device, width, height, miplevels, usage, format, pool);
+
+ return E_NOTIMPL;
+}
+
HRESULT WINAPI D3DXCreateTexture(LPDIRECT3DDEVICE9 pDevice,
UINT width,
UINT height,
More information about the wine-cvs
mailing list