Commit 67724d9f authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent bec379e4
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment