wined3d: Make the surface parameter to surface_is_full_rect() const.
This commit is contained in:
parent
db12216301
commit
416a55c7aa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue