Module: wine Branch: master Commit: db12216301a930a2dcd00f68c195a17b6434a324 URL: http://source.winehq.org/git/wine.git/?a=commit;h=db12216301a930a2dcd00f68c1...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Sun Jul 17 22:29:03 2011 +0200
wined3d: Make the surface parameter to surface_get_rect() const.
---
dlls/wined3d/surface.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f0cfeb4..17f9b70 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;