mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
r600g: fix bo size when creating bo from handle
Spoted by Alex Diomin Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
d5810efca6
commit
b22c8e8bbc
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ struct r600_bo *r600_bo_handle(struct radeon *radeon,
|
|||
free(bo);
|
||||
return NULL;
|
||||
}
|
||||
bo->size = bo->size;
|
||||
bo->size = rbo->size;
|
||||
bo->domains = (RADEON_GEM_DOMAIN_CPU |
|
||||
RADEON_GEM_DOMAIN_GTT |
|
||||
RADEON_GEM_DOMAIN_VRAM);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue