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

This commit is contained in:
Henri Verbeet 2011-10-11 17:24:53 +02:00 committed by Alexandre Julliard
parent 7679d96c86
commit 229662fc46
2 changed files with 2 additions and 2 deletions

View File

@ -4456,7 +4456,7 @@ HRESULT CDECL wined3d_device_update_texture(struct wined3d_device *device,
return WINED3D_OK;
}
HRESULT CDECL wined3d_device_get_front_buffer_data(struct wined3d_device *device,
HRESULT CDECL wined3d_device_get_front_buffer_data(const struct wined3d_device *device,
UINT swapchain_idx, struct wined3d_surface *dst_surface)
{
struct wined3d_swapchain *swapchain;

View File

@ -2216,7 +2216,7 @@ HRESULT __cdecl wined3d_device_get_depth_stencil(struct wined3d_device *device,
HRESULT __cdecl wined3d_device_get_device_caps(const struct wined3d_device *device, WINED3DCAPS *caps);
HRESULT __cdecl wined3d_device_get_display_mode(const struct wined3d_device *device,
UINT swapchain_idx, WINED3DDISPLAYMODE *mode);
HRESULT __cdecl wined3d_device_get_front_buffer_data(struct wined3d_device *device,
HRESULT __cdecl wined3d_device_get_front_buffer_data(const struct wined3d_device *device,
UINT swapchain_idx, struct wined3d_surface *dst_surface);
void __cdecl wined3d_device_get_gamma_ramp(struct wined3d_device *device, UINT swapchain_idx, WINED3DGAMMARAMP *ramp);
HRESULT __cdecl wined3d_device_get_index_buffer(const struct wined3d_device *device,