wined3d: Make the device parameter to wined3d_device_get_front_buffer_data() const.
This commit is contained in:
parent
7679d96c86
commit
229662fc46
|
@ -4456,7 +4456,7 @@ HRESULT CDECL wined3d_device_update_texture(struct wined3d_device *device,
|
||||||
return WINED3D_OK;
|
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)
|
UINT swapchain_idx, struct wined3d_surface *dst_surface)
|
||||||
{
|
{
|
||||||
struct wined3d_swapchain *swapchain;
|
struct wined3d_swapchain *swapchain;
|
||||||
|
|
|
@ -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_device_caps(const struct wined3d_device *device, WINED3DCAPS *caps);
|
||||||
HRESULT __cdecl wined3d_device_get_display_mode(const struct wined3d_device *device,
|
HRESULT __cdecl wined3d_device_get_display_mode(const struct wined3d_device *device,
|
||||||
UINT swapchain_idx, WINED3DDISPLAYMODE *mode);
|
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);
|
UINT swapchain_idx, struct wined3d_surface *dst_surface);
|
||||||
void __cdecl wined3d_device_get_gamma_ramp(struct wined3d_device *device, UINT swapchain_idx, WINED3DGAMMARAMP *ramp);
|
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,
|
HRESULT __cdecl wined3d_device_get_index_buffer(const struct wined3d_device *device,
|
||||||
|
|
Loading…
Reference in New Issue