projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svga: init fill variable to avoid compiler warning
[mesa.git]
/
src
/
gallium
/
drivers
/
v3d
/
v3d_bufmgr.c
diff --git
a/src/gallium/drivers/v3d/v3d_bufmgr.c
b/src/gallium/drivers/v3d/v3d_bufmgr.c
index 970c38e08fe643d2dd0be51033cc79ab34004c80..f0df1b98373789ac276f2a8109bbcc28af6cfdb9 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_bufmgr.c
+++ b/
src/gallium/drivers/v3d/v3d_bufmgr.c
@@
-374,6
+374,9
@@
v3d_bo_open_handle(struct v3d_screen *screen,
util_hash_table_set(screen->bo_handles, (void *)(uintptr_t)handle, bo);
util_hash_table_set(screen->bo_handles, (void *)(uintptr_t)handle, bo);
+ screen->bo_count++;
+ screen->bo_size += bo->size;
+
done:
mtx_unlock(&screen->bo_handles_mutex);
return bo;
done:
mtx_unlock(&screen->bo_handles_mutex);
return bo;