wined3d: Make the generate_rt_mask_no_fbo() parameters const.

This commit is contained in:
Henri Verbeet 2011-06-28 02:26:18 +02:00 committed by Alexandre Julliard
parent b9721600dc
commit 64bf19d07b
1 changed files with 1 additions and 1 deletions

View File

@ -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;