From 64bf19d07b8ef8af20b7a184dbc43e66b5a0905a Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 28 Jun 2011 02:26:18 +0200 Subject: [PATCH] wined3d: Make the generate_rt_mask_no_fbo() parameters const. --- dlls/wined3d/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 169946ac149..4a4b047cbbf 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -2003,7 +2003,7 @@ static void context_validate_onscreen_formats(struct wined3d_device *device, context_set_render_offscreen(context, device->StateTable, TRUE); } -static DWORD generate_rt_mask_no_fbo(struct wined3d_device *device, struct wined3d_surface *rt) +static DWORD generate_rt_mask_no_fbo(const struct wined3d_device *device, const struct wined3d_surface *rt) { if (!rt || rt->resource.format->id == WINED3DFMT_NULL) return 0;