diff options
Diffstat (limited to 'src/sna/kgem_debug_gen5.c')
-rw-r--r-- | src/sna/kgem_debug_gen5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem_debug_gen5.c b/src/sna/kgem_debug_gen5.c index f21220f3..9e7360af 100644 --- a/src/sna/kgem_debug_gen5.c +++ b/src/sna/kgem_debug_gen5.c @@ -79,7 +79,7 @@ static void gen5_update_vertex_buffer(struct kgem *kgem, const uint32_t *data) } else { bo = kgem_debug_get_bo_for_reloc_entry(kgem, reloc); base = kgem_bo_map__debug(kgem, bo); - size = bo->size; + size = kgem_bo_size(bo); } ptr = (char *)base + reloc->delta; |