wined3d: Make the target parameter to generate_rt_mask_from_surface() const.

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

View File

@ -1238,7 +1238,7 @@ static inline DWORD generate_rt_mask(GLenum buffer)
return buffer ? (1 << 31) | buffer : 0;
}
static inline DWORD generate_rt_mask_from_surface(struct wined3d_surface *target)
static inline DWORD generate_rt_mask_from_surface(const struct wined3d_surface *target)
{
return (1 << 31) | surface_get_gl_buffer(target);
}