wined3d: Get rid of the WINED3DTRIPATCH_INFO typedef.
This commit is contained in:
parent
0acd48d89f
commit
2fb21e0a2e
|
@ -2615,7 +2615,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_DrawTriPatch(IDirect3DDevice8 *iface,
|
|||
|
||||
wined3d_mutex_lock();
|
||||
hr = wined3d_device_draw_tri_patch(This->wined3d_device, Handle,
|
||||
pNumSegs, (const WINED3DTRIPATCH_INFO *)pTriPatchInfo);
|
||||
pNumSegs, (const struct wined3d_tri_patch_info *)pTriPatchInfo);
|
||||
wined3d_mutex_unlock();
|
||||
|
||||
return hr;
|
||||
|
|
|
@ -2701,7 +2701,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_DrawTriPatch(IDirect3DDevice9Ex *ifac
|
|||
|
||||
wined3d_mutex_lock();
|
||||
hr = wined3d_device_draw_tri_patch(This->wined3d_device, Handle,
|
||||
pNumSegs, (const WINED3DTRIPATCH_INFO *)pTriPatchInfo);
|
||||
pNumSegs, (const struct wined3d_tri_patch_info *)pTriPatchInfo);
|
||||
wined3d_mutex_unlock();
|
||||
|
||||
return hr;
|
||||
|
|
|
@ -4745,7 +4745,7 @@ HRESULT CDECL wined3d_device_draw_rect_patch(struct wined3d_device *device, UINT
|
|||
}
|
||||
|
||||
HRESULT CDECL wined3d_device_draw_tri_patch(struct wined3d_device *device, UINT handle,
|
||||
const float *segment_count, const WINED3DTRIPATCH_INFO *patch_info)
|
||||
const float *segment_count, const struct wined3d_tri_patch_info *patch_info)
|
||||
{
|
||||
FIXME("device %p, handle %#x, segment_count %p, patch_info %p stub!\n",
|
||||
device, handle, segment_count, patch_info);
|
||||
|
|
|
@ -1607,13 +1607,13 @@ struct wined3d_rect_patch_info
|
|||
WINED3DDEGREETYPE degree;
|
||||
};
|
||||
|
||||
typedef struct _WINED3DTRIPATCH_INFO
|
||||
struct wined3d_tri_patch_info
|
||||
{
|
||||
UINT StartVertexOffset;
|
||||
UINT NumVertices;
|
||||
WINED3DBASISTYPE Basis;
|
||||
WINED3DDEGREETYPE Degree;
|
||||
} WINED3DTRIPATCH_INFO;
|
||||
UINT start_vertex_offset;
|
||||
UINT vertex_count;
|
||||
WINED3DBASISTYPE basis;
|
||||
WINED3DDEGREETYPE degree;
|
||||
};
|
||||
|
||||
typedef struct _WINED3DADAPTER_IDENTIFIER
|
||||
{
|
||||
|
@ -2191,7 +2191,7 @@ HRESULT __cdecl wined3d_device_draw_primitive_up(struct wined3d_device *device,
|
|||
HRESULT __cdecl wined3d_device_draw_rect_patch(struct wined3d_device *device, UINT handle,
|
||||
const float *num_segs, const struct wined3d_rect_patch_info *rect_patch_info);
|
||||
HRESULT __cdecl wined3d_device_draw_tri_patch(struct wined3d_device *device, UINT handle,
|
||||
const float *num_segs, const WINED3DTRIPATCH_INFO *tri_patch_info);
|
||||
const float *num_segs, const struct wined3d_tri_patch_info *tri_patch_info);
|
||||
HRESULT __cdecl wined3d_device_end_scene(struct wined3d_device *device);
|
||||
HRESULT __cdecl wined3d_device_end_stateblock(struct wined3d_device *device, struct wined3d_stateblock **stateblock);
|
||||
void __cdecl wined3d_device_evict_managed_resources(struct wined3d_device *device);
|
||||
|
|
Loading…
Reference in New Issue