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

This commit is contained in:
Henri Verbeet 2011-07-17 22:29:04 +02:00 committed by Alexandre Julliard
parent db12216301
commit 416a55c7aa
1 changed files with 1 additions and 1 deletions

View File

@ -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;