wined3d: Make the "desc" parameter to wined3d_buffer_create() const.
This commit is contained in:
parent
6a1a18e7e2
commit
9020ef9675
|
@ -1212,8 +1212,8 @@ static HRESULT buffer_init(struct wined3d_buffer *buffer, struct wined3d_device
|
|||
return WINED3D_OK;
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_buffer_create(struct wined3d_device *device, struct wined3d_buffer_desc *desc, const void *data,
|
||||
void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_buffer **buffer)
|
||||
HRESULT CDECL wined3d_buffer_create(struct wined3d_device *device, const struct wined3d_buffer_desc *desc,
|
||||
const void *data, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_buffer **buffer)
|
||||
{
|
||||
struct wined3d_buffer *object;
|
||||
HRESULT hr;
|
||||
|
|
|
@ -2055,7 +2055,7 @@ HRESULT __cdecl wined3d_register_software_device(struct wined3d *wined3d, void *
|
|||
HRESULT __cdecl wined3d_set_adapter_display_mode(struct wined3d *wined3d,
|
||||
UINT adapter_idx, const struct wined3d_display_mode *mode);
|
||||
|
||||
HRESULT __cdecl wined3d_buffer_create(struct wined3d_device *device, struct wined3d_buffer_desc *desc,
|
||||
HRESULT __cdecl wined3d_buffer_create(struct wined3d_device *device, const struct wined3d_buffer_desc *desc,
|
||||
const void *data, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_buffer **buffer);
|
||||
HRESULT __cdecl wined3d_buffer_create_ib(struct wined3d_device *device, UINT length, DWORD usage,
|
||||
enum wined3d_pool pool, void *parent, const struct wined3d_parent_ops *parent_ops,
|
||||
|
|
Loading…
Reference in New Issue