You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-12-15 08:03:15 -08:00
This stops the crash but doesn't show the battle at all. Patchset shows what is needed (as a minimum), to be implemented in order for it to work correctly.
28 lines
975 B
Diff
28 lines
975 B
Diff
From 689dad471ce391ed9cfcbc91a4b6c2a00c21b7d8 Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Fri, 13 May 2022 12:31:55 +1000
|
|
Subject: [PATCH] d3drm: IDirect3DRMMeshBuilder2 AddFaces stub
|
|
|
|
---
|
|
dlls/d3drm/meshbuilder.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c
|
|
index 0c765d77281..abad81c51ae 100644
|
|
--- a/dlls/d3drm/meshbuilder.c
|
|
+++ b/dlls/d3drm/meshbuilder.c
|
|
@@ -679,7 +679,9 @@ static HRESULT WINAPI d3drm_mesh_builder2_AddFaces(IDirect3DRMMeshBuilder2 *ifac
|
|
FIXME("iface %p, vertex_count %lu, vertices %p, normal_count %lu, normals %p, face_data %p, array %p stub!\n",
|
|
iface, vertex_count, vertices, normal_count, normals, face_data, array);
|
|
|
|
- return E_NOTIMPL;
|
|
+ if (array)
|
|
+ *array = NULL;
|
|
+ return S_OK;
|
|
}
|
|
|
|
static HRESULT WINAPI d3drm_mesh_builder2_ReserveSpace(IDirect3DRMMeshBuilder2 *iface,
|
|
--
|
|
2.45.2
|
|
|