From e7f61b8c616e676c3bae8e9c7883adf84d4665cc Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 29 Aug 2011 18:58:55 +0200 Subject: [PATCH] wined3d: Make the device parameter to wined3d_device_get_available_texture_mem() 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 8593a6a969..a4c3696df1 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1696,7 +1696,7 @@ HRESULT CDECL wined3d_device_get_wined3d(const struct wined3d_device *device, st return WINED3D_OK; } -UINT CDECL wined3d_device_get_available_texture_mem(struct wined3d_device *device) +UINT CDECL wined3d_device_get_available_texture_mem(const struct wined3d_device *device) { TRACE("device %p.\n", device); diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h index 3a1cb87b7d..4cdc1d7e96 100644 --- a/include/wine/wined3d.h +++ b/include/wine/wined3d.h @@ -2205,7 +2205,7 @@ HRESULT __cdecl wined3d_device_draw_tri_patch(struct wined3d_device *device, UIN HRESULT __cdecl wined3d_device_end_scene(struct wined3d_device *device); HRESULT __cdecl wined3d_device_end_stateblock(struct wined3d_device *device, struct wined3d_stateblock **stateblock); void __cdecl wined3d_device_evict_managed_resources(struct wined3d_device *device); -UINT __cdecl wined3d_device_get_available_texture_mem(struct wined3d_device *device); +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); -- 2.32.0.93.g670b81a890