wined3d: Make the device parameter to wined3d_device_get_clip_plane() const.

This commit is contained in:
Henri Verbeet 2011-09-01 20:20:57 +02:00 committed by Alexandre Julliard
parent 3659d5d729
commit d23938de1e
2 changed files with 2 additions and 2 deletions

View File

@ -2278,7 +2278,7 @@ HRESULT CDECL wined3d_device_set_clip_plane(struct wined3d_device *device, UINT
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);

View File

@ -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,
UINT backbuffer_idx, WINED3DBACKBUFFER_TYPE backbuffer_type, struct wined3d_surface **backbuffer);
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_creation_parameters(struct wined3d_device *device,
WINED3DDEVICE_CREATION_PARAMETERS *creation_parameters);