Henri Verbeet : wined3d: Make the surface parameter to surface_get_texture_name() const.
Module: wine Branch: master Commit: 67724d9f706e62adedd56aecaf144219e6071461 URL: http://source.winehq.org/git/wine.git/?a=commit;h=67724d9f706e62adedd56aecaf... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Wed Jul 6 23:14:27 2011 +0200 wined3d: Make the surface parameter to surface_get_texture_name() const. --- dlls/wined3d/wined3d_private.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 2ba3e14..ae660a2 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -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]
participants (1)
-
Alexandre Julliard