From 6cc9a89c8a6b9aed9aebde0bc4a8d4b02612d189 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 17 Oct 2011 21:06:24 +0200 Subject: [PATCH] wined3d: Make the device parameter to is_display_mode_supported() const. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 044ee346ef..10acdce345 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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;