wined3d: Make the device parameter to wined3d_device_get_swapchain() const.
This commit is contained in:
parent
a3f23541c1
commit
2ff7a356d2
|
@ -886,7 +886,7 @@ UINT CDECL wined3d_device_get_swapchain_count(const struct wined3d_device *devic
|
|||
return device->swapchain_count;
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_device_get_swapchain(struct wined3d_device *device,
|
||||
HRESULT CDECL wined3d_device_get_swapchain(const struct wined3d_device *device,
|
||||
UINT swapchain_idx, struct wined3d_swapchain **swapchain)
|
||||
{
|
||||
TRACE("device %p, swapchain_idx %u, swapchain %p.\n",
|
||||
|
|
|
@ -2252,7 +2252,7 @@ HRESULT __cdecl wined3d_device_get_stream_source(struct wined3d_device *device,
|
|||
HRESULT __cdecl wined3d_device_get_stream_source_freq(struct wined3d_device *device, UINT stream_idx, UINT *divider);
|
||||
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,
|
||||
HRESULT __cdecl wined3d_device_get_swapchain(const struct wined3d_device *device,
|
||||
UINT swapchain_idx, struct wined3d_swapchain **swapchain);
|
||||
UINT __cdecl wined3d_device_get_swapchain_count(const struct wined3d_device *device);
|
||||
HRESULT __cdecl wined3d_device_get_texture(struct wined3d_device *device,
|
||||
|
|
Loading…
Reference in New Issue