wined3d: Make the generate_rt_mask_no_fbo() parameters const.
This commit is contained in:
parent
b9721600dc
commit
64bf19d07b
|
@ -2003,7 +2003,7 @@ static void context_validate_onscreen_formats(struct wined3d_device *device,
|
||||||
context_set_render_offscreen(context, device->StateTable, TRUE);
|
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)
|
if (!rt || rt->resource.format->id == WINED3DFMT_NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue