wined3d: Make the device parameter to wined3d_device_get_clip_plane() const.
This commit is contained in:
parent
3659d5d729
commit
d23938de1e
|
@ -2278,7 +2278,7 @@ HRESULT CDECL wined3d_device_set_clip_plane(struct wined3d_device *device, UINT
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CDECL wined3d_device_get_clip_plane(struct wined3d_device *device, UINT plane_idx, float *plane)
|
HRESULT CDECL wined3d_device_get_clip_plane(const struct wined3d_device *device, UINT plane_idx, float *plane)
|
||||||
{
|
{
|
||||||
TRACE("device %p, plane_idx %u, plane %p.\n", device, plane_idx, plane);
|
TRACE("device %p, plane_idx %u, plane %p.\n", device, plane_idx, plane);
|
||||||
|
|
||||||
|
|
|
@ -2208,7 +2208,7 @@ UINT __cdecl wined3d_device_get_available_texture_mem(const struct wined3d_devic
|
||||||
HRESULT __cdecl wined3d_device_get_back_buffer(struct wined3d_device *device, UINT swapchain_idx,
|
HRESULT __cdecl wined3d_device_get_back_buffer(struct wined3d_device *device, UINT swapchain_idx,
|
||||||
UINT backbuffer_idx, WINED3DBACKBUFFER_TYPE backbuffer_type, struct wined3d_surface **backbuffer);
|
UINT backbuffer_idx, WINED3DBACKBUFFER_TYPE backbuffer_type, struct wined3d_surface **backbuffer);
|
||||||
INT __cdecl wined3d_device_get_base_vertex_index(struct wined3d_device *device);
|
INT __cdecl wined3d_device_get_base_vertex_index(struct wined3d_device *device);
|
||||||
HRESULT __cdecl wined3d_device_get_clip_plane(struct wined3d_device *device, UINT plane_idx, float *plane);
|
HRESULT __cdecl wined3d_device_get_clip_plane(const struct wined3d_device *device, UINT plane_idx, float *plane);
|
||||||
HRESULT __cdecl wined3d_device_get_clip_status(struct wined3d_device *device, WINED3DCLIPSTATUS *clip_status);
|
HRESULT __cdecl wined3d_device_get_clip_status(struct wined3d_device *device, WINED3DCLIPSTATUS *clip_status);
|
||||||
HRESULT __cdecl wined3d_device_get_creation_parameters(struct wined3d_device *device,
|
HRESULT __cdecl wined3d_device_get_creation_parameters(struct wined3d_device *device,
|
||||||
WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);
|
WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);
|
||||||
|
|
Loading…
Reference in New Issue