wined3d: Make the device parameter to wined3d_device_get_swapchain_count() const.
This commit is contained in:
parent
d5c2ba6d62
commit
a3f23541c1
|
@ -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);
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue