summaryrefslogtreecommitdiff
path: root/src/sna/gen2_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-04 12:09:52 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-04 12:09:52 +0100
commit15a00ba047fdb7d388a322f2e33894d20787af2f (patch)
tree2b086350aa645c07bc82663818fa70688806505e /src/sna/gen2_render.c
parent99129c369c16d9ff7588a0e59f9285cc339b7eb3 (diff)
sna/gen2: Remove double 'const'
So constant, we const'ed it twice. Reported-by: Zdenek Kabelac <zkabelac@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
-rw-r--r--src/sna/gen2_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c
index e1b31d77..7b3e1ec7 100644
--- a/src/sna/gen2_render.c
+++ b/src/sna/gen2_render.c
@@ -977,7 +977,7 @@ static void gen2_vertex_flush(struct sna *sna,
}
inline static int gen2_get_rectangles(struct sna *sna,
- const const struct sna_composite_op *op,
+ const struct sna_composite_op *op,
int want)
{
struct gen2_render_state *state = &sna->render_state.gen2;