diff options
author | Brian Paul <[email protected]> | 2012-06-13 11:41:32 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-14 08:20:40 -0600 |
commit | 5234b8902c8865e6547cd24145732a1f2f4760b6 (patch) | |
tree | 786520d1d0dfe300bed392d2d3add4a8bed167c0 /src/gallium/drivers/svga/svga_surface.c | |
parent | 92b65637aba1bbe34e2b4b2ff10c81e5a2449de4 (diff) |
svga: make svga_surface_needs_propagation() surface const
Diffstat (limited to 'src/gallium/drivers/svga/svga_surface.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c index 2f9379bc420..44c18926e11 100644 --- a/src/gallium/drivers/svga/svga_surface.c +++ b/src/gallium/drivers/svga/svga_surface.c @@ -384,9 +384,9 @@ svga_propagate_surface(struct svga_context *svga, struct pipe_surface *surf) * Check if we should call svga_propagate_surface on the surface. */ boolean -svga_surface_needs_propagation(struct pipe_surface *surf) +svga_surface_needs_propagation(const struct pipe_surface *surf) { - struct svga_surface *s = svga_surface(surf); + const struct svga_surface *s = svga_surface_const(surf); struct svga_texture *tex = svga_texture(surf->texture); return s->dirty && s->handle != tex->handle; |