wined3d: Make the device parameter to wined3d_device_set_gamma_ramp() const.
This commit is contained in:
parent
12a99309d9
commit
23ee1a451b
|
@ -5823,7 +5823,7 @@ HRESULT CDECL wined3d_device_get_creation_parameters(const struct wined3d_device
|
|||
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)
|
||||
{
|
||||
struct wined3d_swapchain *swapchain;
|
||||
|
|
|
@ -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_display_mode(struct wined3d_device *device,
|
||||
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);
|
||||
HRESULT __cdecl wined3d_device_set_index_buffer(struct wined3d_device *device,
|
||||
struct wined3d_buffer *index_buffer, enum wined3d_format_id format_id);
|
||||
|
|
Loading…
Reference in New Issue