[PATCH v2 1/1] d3drm: IDirect3DRMMeshBuilder3 Load support loading from resource
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Wed Jun 1 05:35:16 CDT 2022
We could just pass loadflags into IDirectXFile_CreateEnumObject as the
flags for d3d and xfile are the same values. Then add a FIXME when
CreateEnumObject fails.
Just another option if people would prefer.
Regards
Alistair
On 1/6/22 20:09, Alistair Leslie-Hughes wrote:
> From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
>
> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
> ---
> dlls/d3drm/meshbuilder.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c
> index 1f783baf1fe..79e3a408885 100644
> --- a/dlls/d3drm/meshbuilder.c
> +++ b/dlls/d3drm/meshbuilder.c
> @@ -1487,6 +1487,10 @@ static HRESULT WINAPI d3drm_mesh_builder3_Load(IDirect3DRMMeshBuilder3 *iface, v
> load_options = DXFILELOAD_FROMFILE;
> TRACE("Loading from file %s\n", debugstr_a(filename));
> }
> + else if (loadflags == D3DRMLOAD_FROMRESOURCE)
> + {
> + load_options = DXFILELOAD_FROMRESOURCE;
> + }
> else
> {
> FIXME("Load options %ld not supported yet\n", loadflags);
More information about the wine-devel
mailing list