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.
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From 024440f60adfa202d2b828d7a01f22afcae8115b Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Mon, 13 Jun 2022 17:57:01 +1000
|
|
Subject: [PATCH] d3drm: IDirect3DRMFace SetTexture
|
|
|
|
---
|
|
dlls/d3drm/face.c | 8 +++++---
|
|
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/dlls/d3drm/face.c b/dlls/d3drm/face.c
|
|
index ce75c68bb59..d5e9c424a00 100644
|
|
--- a/dlls/d3drm/face.c
|
|
+++ b/dlls/d3drm/face.c
|
|
@@ -256,9 +256,11 @@ static HRESULT WINAPI d3drm_face1_SetColor(IDirect3DRMFace *iface, D3DCOLOR colo
|
|
|
|
static HRESULT WINAPI d3drm_face1_SetTexture(IDirect3DRMFace *iface, IDirect3DRMTexture *texture)
|
|
{
|
|
- FIXME("iface %p, texture %p stub!\n", iface, texture);
|
|
+ struct d3drm_face *face = impl_from_IDirect3DRMFace(iface);
|
|
|
|
- return E_NOTIMPL;
|
|
+ TRACE("iface %p, texture %p\n", iface, texture);
|
|
+
|
|
+ return IDirect3DRMFace2_SetTexture(&face->IDirect3DRMFace2_iface, (IDirect3DRMTexture3 *)texture);
|
|
}
|
|
|
|
static HRESULT WINAPI d3drm_face1_SetTextureCoordinates(IDirect3DRMFace *iface,
|
|
@@ -486,7 +488,7 @@ static HRESULT WINAPI d3drm_face2_SetTexture(IDirect3DRMFace2 *iface, IDirect3DR
|
|
{
|
|
FIXME("iface %p, texture %p stub!\n", iface, texture);
|
|
|
|
- return E_NOTIMPL;
|
|
+ return S_OK;
|
|
}
|
|
|
|
static HRESULT WINAPI d3drm_face2_SetTextureCoordinates(IDirect3DRMFace2 *iface,
|
|
--
|
|
2.45.2
|
|
|