diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-07 09:33:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-07 09:33:06 +0100 |
commit | 249051d90fb0ab0bea5561a04ee2a5d0a2238ff1 (patch) | |
tree | eb7475e212d0857362d315e2bc9f89c5f262b388 | |
parent | d11a15f04dfaf8ba236d7255c52e67d8602ab806 (diff) |
sna/gen2: And the other compile failure
Typing on Sunday before coffee is a very bad idea.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen2_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index baf8c3e2..5504e281 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -980,7 +980,7 @@ static void gen2_magic_ca_pass(struct sna *sna, dst = sna->kgem.batch + sna->kgem.nbatch; n = 1 + sna->render.vertex_index; sna->kgem.nbatch += n; - assert(sna->kgem.nbatch <= KGEM_BATCH_SIZE(kgem)); + assert(sna->kgem.nbatch <= KGEM_BATCH_SIZE(&sna->kgem)); while (n--) *dst++ = *src++; } |