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

This commit is contained in:
Henri Verbeet 2011-10-17 21:06:24 +02:00 committed by Alexandre Julliard
parent 71640e00f9
commit 6cc9a89c8a
1 changed files with 1 additions and 1 deletions

View File

@ -5380,7 +5380,7 @@ static HRESULT updateSurfaceDesc(struct wined3d_surface *surface,
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;
WINED3DDISPLAYMODE m;