summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-12-10 11:17:27 -0500
committerJerome Glisse <jglisse@redhat.com>2010-12-10 11:17:27 -0500
commitb22c8e8bbcdff7933b0354197c101738c99ea7d0 (patch)
treed0ee9724a261272b4d554af94eb5cea7b0b42007 /src/gallium/winsys
parentd5810efca69d016eddd6ece4cb399394c46525db (diff)
downloadexternal_mesa3d-b22c8e8bbcdff7933b0354197c101738c99ea7d0.zip
external_mesa3d-b22c8e8bbcdff7933b0354197c101738c99ea7d0.tar.gz
external_mesa3d-b22c8e8bbcdff7933b0354197c101738c99ea7d0.tar.bz2
r600g: fix bo size when creating bo from handle
Spoted by Alex Diomin Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/r600/drm/r600_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_bo.c b/src/gallium/winsys/r600/drm/r600_bo.c
index 137402c..6a3737f 100644
--- a/src/gallium/winsys/r600/drm/r600_bo.c
+++ b/src/gallium/winsys/r600/drm/r600_bo.c
@@ -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);