[PATCH 5/5] wined3d: Make the device parameter to is_display_mode_supported() const.
Henri Verbeet
hverbeet at codeweavers.com
Mon Oct 17 14:06:24 CDT 2011
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 044ee34..10acdce 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;
--
1.7.3.4
More information about the wine-patches
mailing list