wined3d: Make the device parameter to wined3d_device_get_display_mode() const.
This commit is contained in:
parent
72d75b65b7
commit
013991e6e4
|
@ -3920,7 +3920,7 @@ HRESULT CDECL wined3d_device_get_device_caps(const struct wined3d_device *device
|
|||
return wined3d_get_device_caps(device->wined3d, device->adapter->ordinal, device->devType, caps);
|
||||
}
|
||||
|
||||
HRESULT CDECL wined3d_device_get_display_mode(struct wined3d_device *device,
|
||||
HRESULT CDECL wined3d_device_get_display_mode(const struct wined3d_device *device,
|
||||
UINT swapchain_idx, WINED3DDISPLAYMODE *mode)
|
||||
{
|
||||
struct wined3d_swapchain *swapchain;
|
||||
|
|
|
@ -2216,7 +2216,7 @@ HRESULT __cdecl wined3d_device_get_current_texture_palette(struct wined3d_device
|
|||
HRESULT __cdecl wined3d_device_get_depth_stencil(struct wined3d_device *device,
|
||||
struct wined3d_surface **depth_stencil);
|
||||
HRESULT __cdecl wined3d_device_get_device_caps(const struct wined3d_device *device, WINED3DCAPS *caps);
|
||||
HRESULT __cdecl wined3d_device_get_display_mode(struct wined3d_device *device,
|
||||
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,
|
||||
UINT swapchain_idx, struct wined3d_surface *dst_surface);
|
||||
|
|
Loading…
Reference in New Issue