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

This commit is contained in:
Henri Verbeet 2011-10-03 20:22:52 +02:00 committed by Alexandre Julliard
parent 929598fd00
commit adf9e6120d
2 changed files with 2 additions and 2 deletions

View File

@ -4045,7 +4045,7 @@ HRESULT CDECL wined3d_device_end_scene(struct wined3d_device *device)
return WINED3D_OK;
}
HRESULT CDECL wined3d_device_present(struct wined3d_device *device, const RECT *src_rect,
HRESULT CDECL wined3d_device_present(const struct wined3d_device *device, const RECT *src_rect,
const RECT *dst_rect, HWND dst_window_override, const RGNDATA *dirty_region)
{
UINT i;

View File

@ -2278,7 +2278,7 @@ HRESULT __cdecl wined3d_device_init_3d(struct wined3d_device *device, WINED3DPRE
HRESULT __cdecl wined3d_device_init_gdi(struct wined3d_device *device, WINED3DPRESENT_PARAMETERS *present_parameters);
HRESULT __cdecl wined3d_device_multiply_transform(struct wined3d_device *device,
WINED3DTRANSFORMSTATETYPE state, const WINED3DMATRIX *matrix);
HRESULT __cdecl wined3d_device_present(struct wined3d_device *device, const RECT *src_rect,
HRESULT __cdecl wined3d_device_present(const struct wined3d_device *device, const RECT *src_rect,
const RECT *dst_rect, HWND dst_window_override, const RGNDATA *dirty_region);
HRESULT __cdecl wined3d_device_process_vertices(struct wined3d_device *device,
UINT src_start_idx, UINT dst_idx, UINT vertex_count, struct wined3d_buffer *dst_buffer,