Henri Verbeet : wined3d: Make the surface parameter to surface_get_rect() const.
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 12:46:58 CDT 2011
Module: wine
Branch: master
Commit: db12216301a930a2dcd00f68c195a17b6434a324
URL: http://source.winehq.org/git/wine.git/?a=commit;h=db12216301a930a2dcd00f68c195a17b6434a324
Author: Henri Verbeet <hverbeet at 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;
More information about the wine-cvs
mailing list