wined3d: Make the surface parameter to surface_get_texture_name() const.

This commit is contained in:
Henri Verbeet 2011-07-06 23:14:27 +02:00 committed by Alexandre Julliard
parent bec379e411
commit 67724d9f70
1 changed files with 1 additions and 1 deletions

View File

@ -2058,7 +2058,7 @@ static inline struct wined3d_surface *surface_from_resource(struct wined3d_resou
return CONTAINING_RECORD(resource, struct wined3d_surface, resource);
}
static inline GLuint surface_get_texture_name(struct wined3d_surface *surface,
static inline GLuint surface_get_texture_name(const struct wined3d_surface *surface,
const struct wined3d_gl_info *gl_info, BOOL srgb)
{
return srgb && !gl_info->supported[EXT_TEXTURE_SRGB_DECODE]