Henri Verbeet : wined3d: Make the device parameter to is_display_mode_supported() const.
Module: wine Branch: master Commit: 6cc9a89c8a6b9aed9aebde0bc4a8d4b02612d189 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6cc9a89c8a6b9aed9aebde0bc4... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Mon Oct 17 21:06:24 2011 +0200 wined3d: Make the device parameter to is_display_mode_supported() const. --- 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;
participants (1)
-
Alexandre Julliard