wined3d: Make the device parameter to wined3d_device_get_surface_from_dc() const.

This commit is contained in:
Henri Verbeet 2011-10-20 21:42:58 +02:00 committed by Alexandre Julliard
parent 002447357c
commit a2c754dde8
2 changed files with 2 additions and 2 deletions

View File

@ -5981,7 +5981,7 @@ void device_resource_released(struct wined3d_device *device, struct wined3d_reso
TRACE("Resource released.\n");
}
HRESULT CDECL wined3d_device_get_surface_from_dc(struct wined3d_device *device,
HRESULT CDECL wined3d_device_get_surface_from_dc(const struct wined3d_device *device,
HDC dc, struct wined3d_surface **surface)
{
struct wined3d_resource *resource;

View File

@ -2249,7 +2249,7 @@ HRESULT __cdecl wined3d_device_get_stream_source(const struct wined3d_device *de
UINT stream_idx, struct wined3d_buffer **buffer, UINT *offset, UINT *stride);
HRESULT __cdecl wined3d_device_get_stream_source_freq(const struct wined3d_device *device,
UINT stream_idx, UINT *divider);
HRESULT __cdecl wined3d_device_get_surface_from_dc(struct wined3d_device *device,
HRESULT __cdecl wined3d_device_get_surface_from_dc(const struct wined3d_device *device,
HDC dc, struct wined3d_surface **surface);
HRESULT __cdecl wined3d_device_get_swapchain(const struct wined3d_device *device,
UINT swapchain_idx, struct wined3d_swapchain **swapchain);