[PATCH 7/9] d3drm: Texture callback cannot be passed directly. Texture object argument is different so disable it for now.

Christian Costa titan.costa at gmail.com
Fri Mar 9 04:55:53 CST 2012


---
 dlls/d3drm/meshbuilder.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c
index 24d5d2e..504a79a 100644
--- a/dlls/d3drm/meshbuilder.c
+++ b/dlls/d3drm/meshbuilder.c
@@ -440,8 +440,11 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_Load(IDirect3DRMMeshBuilder2*
 
     TRACE("(%p)->(%p,%p,%x,%p,%p): forwarding to IDirect3DRMMeshBuilder3\n", This, filename, name, loadflags, cb, arg);
 
+    if (cb)
+        FIXME("Texture callback is not yet supported\n");
+
     return IDirect3DRMMeshBuilder3_Load(&This->IDirect3DRMMeshBuilder3_iface, filename, name,
-                                        loadflags, (D3DRMLOADTEXTURE3CALLBACK)cb, arg);
+                                        loadflags, NULL, arg);
 }
 
 static HRESULT WINAPI IDirect3DRMMeshBuilder2Impl_Save(IDirect3DRMMeshBuilder2* iface,




More information about the wine-patches mailing list