wined3d: Add WINED3DVERTEXBUFFER_DESC to wined3d_types.h.
This commit is contained in:
parent
d2ef7869de
commit
9f46792ba2
|
@ -140,7 +140,7 @@ HRESULT WINAPI IDirect3DVertexBuffer8Impl_GetDesc(LPDIRECT3DVERTEXBUFFER8 iface,
|
|||
IDirect3DVertexBuffer8Impl *This = (IDirect3DVertexBuffer8Impl *)iface;
|
||||
TRACE("(%p) Relay\n", This);
|
||||
|
||||
return IWineD3DVertexBuffer_GetDesc(This->wineD3DVertexBuffer, pDesc);
|
||||
return IWineD3DVertexBuffer_GetDesc(This->wineD3DVertexBuffer, (WINED3DVERTEXBUFFER_DESC *) pDesc);
|
||||
}
|
||||
|
||||
const IDirect3DVertexBuffer8Vtbl Direct3DVertexBuffer8_Vtbl =
|
||||
|
|
|
@ -129,7 +129,7 @@ HRESULT WINAPI IDirect3DVertexBuffer9Impl_Unlock(LPDIRECT3DVERTEXBUFFER9 iface)
|
|||
HRESULT WINAPI IDirect3DVertexBuffer9Impl_GetDesc(LPDIRECT3DVERTEXBUFFER9 iface, D3DVERTEXBUFFER_DESC* pDesc) {
|
||||
IDirect3DVertexBuffer9Impl *This = (IDirect3DVertexBuffer9Impl *)iface;
|
||||
TRACE("(%p) Relay\n", This);
|
||||
return IWineD3DVertexBuffer_GetDesc(This->wineD3DVertexBuffer, pDesc);
|
||||
return IWineD3DVertexBuffer_GetDesc(This->wineD3DVertexBuffer, (WINED3DVERTEXBUFFER_DESC *) pDesc);
|
||||
}
|
||||
|
||||
const IDirect3DVertexBuffer9Vtbl Direct3DVertexBuffer9_Vtbl =
|
||||
|
|
|
@ -116,7 +116,7 @@ HRESULT WINAPI IWineD3DVertexBufferImpl_Unlock(IWineD3DVertexBuffer *ifa
|
|||
TRACE("(%p) : stub\n", This);
|
||||
return D3D_OK;
|
||||
}
|
||||
HRESULT WINAPI IWineD3DVertexBufferImpl_GetDesc(IWineD3DVertexBuffer *iface, D3DVERTEXBUFFER_DESC *pDesc) {
|
||||
HRESULT WINAPI IWineD3DVertexBufferImpl_GetDesc(IWineD3DVertexBuffer *iface, WINED3DVERTEXBUFFER_DESC *pDesc) {
|
||||
IWineD3DVertexBufferImpl *This = (IWineD3DVertexBufferImpl *)iface;
|
||||
|
||||
TRACE("(%p)\n", This);
|
||||
|
|
|
@ -634,7 +634,7 @@ DECLARE_INTERFACE_(IWineD3DVertexBuffer,IWineD3DResource)
|
|||
/*** IWineD3DVertexBuffer methods ***/
|
||||
STDMETHOD(Lock)(THIS_ UINT OffsetToLock, UINT SizeToLock, BYTE ** ppbData, DWORD Flags) PURE;
|
||||
STDMETHOD(Unlock)(THIS) PURE;
|
||||
STDMETHOD(GetDesc)(THIS_ D3DVERTEXBUFFER_DESC * pDesc) PURE;
|
||||
STDMETHOD(GetDesc)(THIS_ WINED3DVERTEXBUFFER_DESC * pDesc) PURE;
|
||||
};
|
||||
#undef INTERFACE
|
||||
|
||||
|
|
|
@ -601,6 +601,15 @@ typedef struct WINED3DDEVINFO_VCACHE {
|
|||
DWORD MagicNumber;
|
||||
} WINED3DDEVINFO_VCACHE;
|
||||
|
||||
typedef struct _WINED3DVERTEXBUFFER_DESC {
|
||||
WINED3DFORMAT Format;
|
||||
WINED3DRESOURCETYPE Type;
|
||||
DWORD Usage;
|
||||
D3DPOOL Pool;
|
||||
UINT Size;
|
||||
DWORD FVF;
|
||||
} WINED3DVERTEXBUFFER_DESC;
|
||||
|
||||
/*
|
||||
* The wined3dcaps structure
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue