summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-20 22:54:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-20 23:18:10 +0100
commitc86df17c1455a53cb52f33a25c8c362e5331621e (patch)
treee874d488e038f008efa24572762739eb0d9c8f80 /src
parent6aabe90587f4916a01a1cd2bbc577a1e7fa20eca (diff)
sna/gen3: Fix assertion to check the freshly allocated vertex bo
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/gen3_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 7fb5a086..ab94bdbf 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -1713,7 +1713,7 @@ static void gen3_vertex_close(struct sna *sna)
bo = kgem_create_linear(&sna->kgem,
4*sna->render.vertex_used, 0);
if (bo) {
- assert(sna->render.vbo->snoop == false);
+ assert(bo->snoop == false);
kgem_bo_write(&sna->kgem, bo,
sna->render.vertex_data,
4*sna->render.vertex_used);