d3drm: Add IDirect3DRMMeshBuilder3 interface.
This commit is contained in:
parent
2180a9c3a4
commit
7164806b56
|
@ -154,7 +154,7 @@ static HRESULT WINAPI IDirect3DRMImpl_CreateMeshBuilder(IDirect3DRM* iface, LPDI
|
||||||
|
|
||||||
TRACE("(%p/%p)->(%p)\n", iface, This, ppMeshBuilder);
|
TRACE("(%p/%p)->(%p)\n", iface, This, ppMeshBuilder);
|
||||||
|
|
||||||
return Direct3DRMMeshBuilder_create((IUnknown**)ppMeshBuilder);
|
return Direct3DRMMeshBuilder_create(&IID_IDirect3DRMMeshBuilder, (IUnknown**)ppMeshBuilder);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirect3DRMImpl_CreateFace(IDirect3DRM* iface, LPDIRECT3DRMFACE * ppFace)
|
static HRESULT WINAPI IDirect3DRMImpl_CreateFace(IDirect3DRM* iface, LPDIRECT3DRMFACE * ppFace)
|
||||||
|
@ -519,7 +519,7 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateMeshBuilder(IDirect3DRM2* iface,
|
||||||
|
|
||||||
TRACE("(%p/%p)->(%p)\n", iface, This, ppMeshBuilder);
|
TRACE("(%p/%p)->(%p)\n", iface, This, ppMeshBuilder);
|
||||||
|
|
||||||
return Direct3DRMMeshBuilder_create((IUnknown**)ppMeshBuilder);
|
return Direct3DRMMeshBuilder_create(&IID_IDirect3DRMMeshBuilder2, (IUnknown**)ppMeshBuilder);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI IDirect3DRM2Impl_CreateFace(IDirect3DRM2* iface, LPDIRECT3DRMFACE * ppFace)
|
static HRESULT WINAPI IDirect3DRM2Impl_CreateFace(IDirect3DRM2* iface, LPDIRECT3DRMFACE * ppFace)
|
||||||
|
|
|
@ -27,6 +27,6 @@
|
||||||
#include "d3drm.h"
|
#include "d3drm.h"
|
||||||
|
|
||||||
HRESULT Direct3DRM_create(IUnknown** ppObj) DECLSPEC_HIDDEN;
|
HRESULT Direct3DRM_create(IUnknown** ppObj) DECLSPEC_HIDDEN;
|
||||||
HRESULT Direct3DRMMeshBuilder_create(IUnknown** ppObj) DECLSPEC_HIDDEN;
|
HRESULT Direct3DRMMeshBuilder_create(REFIID riid, IUnknown** ppObj) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* __D3DRM_PRIVATE_INCLUDED__ */
|
#endif /* __D3DRM_PRIVATE_INCLUDED__ */
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2855,7 +2855,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder3,IDirect3DRMVisual)
|
||||||
STDMETHOD(GenerateNormals)(THIS_ D3DVALUE crease, DWORD flags) PURE;
|
STDMETHOD(GenerateNormals)(THIS_ D3DVALUE crease, DWORD flags) PURE;
|
||||||
STDMETHOD_(D3DRMCOLORSOURCE, GetColorSource)(THIS) PURE;
|
STDMETHOD_(D3DRMCOLORSOURCE, GetColorSource)(THIS) PURE;
|
||||||
STDMETHOD(AddMesh)(THIS_ LPDIRECT3DRMMESH) PURE;
|
STDMETHOD(AddMesh)(THIS_ LPDIRECT3DRMMESH) PURE;
|
||||||
STDMETHOD(AddMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER3) PURE;
|
STDMETHOD(AddMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER3, DWORD flags) PURE;
|
||||||
STDMETHOD(AddFrame)(THIS_ LPDIRECT3DRMFRAME3) PURE;
|
STDMETHOD(AddFrame)(THIS_ LPDIRECT3DRMFRAME3) PURE;
|
||||||
STDMETHOD(AddFace)(THIS_ LPDIRECT3DRMFACE2) PURE;
|
STDMETHOD(AddFace)(THIS_ LPDIRECT3DRMFACE2) PURE;
|
||||||
STDMETHOD(AddFaces)(THIS_ DWORD vcount, D3DVECTOR *vertices, DWORD ncount, D3DVECTOR *normals, DWORD *data,
|
STDMETHOD(AddFaces)(THIS_ DWORD vcount, D3DVECTOR *vertices, DWORD ncount, D3DVECTOR *normals, DWORD *data,
|
||||||
|
|
Loading…
Reference in New Issue