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

This commit is contained in:
Henri Verbeet 2011-07-17 22:29:03 +02:00 committed by Alexandre Julliard
parent e0711b195d
commit db12216301
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ static void surface_get_blt_info(GLenum target, const RECT *rect, GLsizei w, GLs
}
}
static inline void surface_get_rect(struct wined3d_surface *surface, const RECT *rect_in, RECT *rect_out)
static void surface_get_rect(const struct wined3d_surface *surface, const RECT *rect_in, RECT *rect_out)
{
if (rect_in)
*rect_out = *rect_in;