[PATCH 4/4] d3drm: Make it possible to create meshes with CreateObject().

Henri Verbeet hverbeet at gmail.com
Thu Jun 22 05:58:55 CDT 2017


On 21 June 2017 at 14:39, Nikolay Sivov <nsivov at codeweavers.com> wrote:
> diff --git a/dlls/d3drm/d3drm_private.h b/dlls/d3drm/d3drm_private.h
> index 1b00e1a36d..af79b43292 100644
> --- a/dlls/d3drm/d3drm_private.h
> +++ b/dlls/d3drm/d3drm_private.h
> @@ -147,6 +147,30 @@ struct d3drm_mesh_builder
>      DWORD *material_indices;
>  };
>
> +struct mesh_group
> +{
> +    unsigned nb_vertices;
> +    D3DRMVERTEX* vertices;
> +    unsigned nb_faces;
> +    unsigned vertex_per_face;
> +    DWORD face_data_size;
> +    unsigned* face_data;
> +    D3DCOLOR color;
> +    IDirect3DRMMaterial2* material;
> +    IDirect3DRMTexture3* texture;
> +};
Not new, but misleading "*" placement.



More information about the wine-devel mailing list