Henri Verbeet : wined3d: Make the device parameter to wined3d_device_get_swapchain_count() const.
Alexandre Julliard
julliard at winehq.org
Mon Aug 29 11:28:33 CDT 2011
Module: wine
Branch: master
Commit: a3f23541c1b3f9d54863c0680e17bb774150b648
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a3f23541c1b3f9d54863c0680e17bb774150b648
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Sun Aug 28 23:27:47 2011 +0200
wined3d: Make the device parameter to wined3d_device_get_swapchain_count() 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 8afa2d8..8f7b35d 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -879,7 +879,7 @@ ULONG CDECL wined3d_device_decref(struct wined3d_device *device)
return refcount;
}
-UINT CDECL wined3d_device_get_swapchain_count(struct wined3d_device *device)
+UINT CDECL wined3d_device_get_swapchain_count(const struct wined3d_device *device)
{
TRACE("device %p.\n", device);
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index bfc1b39..1ea6857 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -2254,7 +2254,7 @@ HRESULT __cdecl wined3d_device_get_surface_from_dc(struct wined3d_device *device
HDC dc, struct wined3d_surface **surface);
HRESULT __cdecl wined3d_device_get_swapchain(struct wined3d_device *device,
UINT swapchain_idx, struct wined3d_swapchain **swapchain);
-UINT __cdecl wined3d_device_get_swapchain_count(struct wined3d_device *device);
+UINT __cdecl wined3d_device_get_swapchain_count(const struct wined3d_device *device);
HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device,
UINT stage, struct wined3d_texture **texture);
HRESULT __cdecl wined3d_device_get_texture_stage_state(struct wined3d_device *device,
More information about the wine-cvs
mailing list