[PATCH 2/5] wined3d: Make the surface parameter to surface_is_full_rect() const.
Henri Verbeet
hverbeet at codeweavers.com
Sun Jul 17 15:29:04 CDT 2011
---
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 17f9b70..458cc36 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1070,7 +1070,7 @@ static HRESULT surface_flip(struct wined3d_surface *surface, struct wined3d_surf
return WINED3D_OK;
}
-static BOOL surface_is_full_rect(struct wined3d_surface *surface, const RECT *r)
+static BOOL surface_is_full_rect(const struct wined3d_surface *surface, const RECT *r)
{
if ((r->left && r->right) || abs(r->right - r->left) != surface->resource.width)
return FALSE;
--
1.7.3.4
More information about the wine-patches
mailing list