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

This commit is contained in:
Henri Verbeet 2011-10-19 22:03:13 +02:00 committed by Alexandre Julliard
parent 12a99309d9
commit 23ee1a451b
2 changed files with 2 additions and 2 deletions

View File

@ -5823,7 +5823,7 @@ HRESULT CDECL wined3d_device_get_creation_parameters(const struct wined3d_device
return WINED3D_OK; return WINED3D_OK;
} }
void CDECL wined3d_device_set_gamma_ramp(struct wined3d_device *device, void CDECL wined3d_device_set_gamma_ramp(const struct wined3d_device *device,
UINT swapchain_idx, DWORD flags, const WINED3DGAMMARAMP *ramp) UINT swapchain_idx, DWORD flags, const WINED3DGAMMARAMP *ramp)
{ {
struct wined3d_swapchain *swapchain; struct wined3d_swapchain *swapchain;

View File

@ -2295,7 +2295,7 @@ HRESULT __cdecl wined3d_device_set_depth_stencil(struct wined3d_device *device,
HRESULT __cdecl wined3d_device_set_dialog_box_mode(struct wined3d_device *device, BOOL enable_dialogs); HRESULT __cdecl wined3d_device_set_dialog_box_mode(struct wined3d_device *device, BOOL enable_dialogs);
HRESULT __cdecl wined3d_device_set_display_mode(struct wined3d_device *device, HRESULT __cdecl wined3d_device_set_display_mode(struct wined3d_device *device,
UINT swapchain_idx, const WINED3DDISPLAYMODE *mode); UINT swapchain_idx, const WINED3DDISPLAYMODE *mode);
void __cdecl wined3d_device_set_gamma_ramp(struct wined3d_device *device, void __cdecl wined3d_device_set_gamma_ramp(const struct wined3d_device *device,
UINT swapchain_idx, DWORD flags, const WINED3DGAMMARAMP *ramp); UINT swapchain_idx, DWORD flags, const WINED3DGAMMARAMP *ramp);
HRESULT __cdecl wined3d_device_set_index_buffer(struct wined3d_device *device, HRESULT __cdecl wined3d_device_set_index_buffer(struct wined3d_device *device,
struct wined3d_buffer *index_buffer, enum wined3d_format_id format_id); struct wined3d_buffer *index_buffer, enum wined3d_format_id format_id);