Commit 6cc9a89c authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 71640e00
...@@ -5380,7 +5380,7 @@ static HRESULT updateSurfaceDesc(struct wined3d_surface *surface, ...@@ -5380,7 +5380,7 @@ static HRESULT updateSurfaceDesc(struct wined3d_surface *surface,
return WINED3D_OK; return WINED3D_OK;
} }
static BOOL is_display_mode_supported(struct wined3d_device *device, const WINED3DPRESENT_PARAMETERS *pp) static BOOL is_display_mode_supported(const struct wined3d_device *device, const WINED3DPRESENT_PARAMETERS *pp)
{ {
UINT i, count; UINT i, count;
WINED3DDISPLAYMODE m; WINED3DDISPLAYMODE m;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment