Henri Verbeet : wined3d: Make the surface parameter to surface_is_full_rect () const.

Alexandre Julliard julliard at winehq.org
Mon Jul 18 12:46:58 CDT 2011


Module: wine
Branch: master
Commit: 416a55c7aa36c08bed862980c46d7f968de26444
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=416a55c7aa36c08bed862980c46d7f968de26444

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Sun Jul 17 22:29:04 2011 +0200

wined3d: Make the surface parameter to surface_is_full_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 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;




More information about the wine-cvs mailing list