Module: wine Branch: master Commit: d23938de1e5bc0cbadff31502a89d539ed06af65 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d23938de1e5bc0cbadff31502a...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Sep 1 20:20:57 2011 +0200
wined3d: Make the device parameter to wined3d_device_get_clip_plane() const.
---
dlls/wined3d/device.c | 2 +- include/wine/wined3d.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index dfa96f6..6ab48f0 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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);
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h index e22feb5..b519348 100644 --- a/include/wine/wined3d.h +++ b/include/wine/wined3d.h @@ -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);