From db12216301a930a2dcd00f68c195a17b6434a324 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 17 Jul 2011 22:29:03 +0200 Subject: [PATCH] wined3d: Make the surface parameter to surface_get_rect() const. --- dlls/wined3d/surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f0cfeb415b9..17f9b70ade1 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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;