From cf010c563c1d05358527c496b86d04bfa4dcdf11 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 5 Sep 2011 21:15:54 +0200 Subject: [PATCH] wined3d: Make the device parameter to wined3d_device_get_base_vertex_index() 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 b7bb19fbb50..2660ee80967 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -2437,7 +2437,7 @@ HRESULT CDECL wined3d_device_set_base_vertex_index(struct wined3d_device *device return WINED3D_OK; } -INT CDECL wined3d_device_get_base_vertex_index(struct wined3d_device *device) +INT CDECL wined3d_device_get_base_vertex_index(const struct wined3d_device *device) { TRACE("device %p.\n", device); diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h index 223812bbd80..c9f9edfbfa2 100644 --- a/include/wine/wined3d.h +++ b/include/wine/wined3d.h @@ -2207,7 +2207,7 @@ void __cdecl wined3d_device_evict_managed_resources(struct wined3d_device *devic UINT __cdecl wined3d_device_get_available_texture_mem(const struct wined3d_device *device); 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); +INT __cdecl wined3d_device_get_base_vertex_index(const struct wined3d_device *device); HRESULT __cdecl wined3d_device_get_clip_plane(const struct wined3d_device *device, UINT plane_idx, float *plane); HRESULT __cdecl wined3d_device_get_clip_status(const struct wined3d_device *device, WINED3DCLIPSTATUS *clip_status); HRESULT __cdecl wined3d_device_get_creation_parameters(struct wined3d_device *device,