projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pipebuffer: Release the lock during map wait. Cleanups.
[mesa.git]
/
src
/
gallium
/
auxiliary
/
pipebuffer
/
pb_bufmgr_debug.c
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
index 6e3214ca9c9b4de60c596792f49c056e03b24d52..8f74180a111b90016c66ad31662e10d870e730f7 100644
(file)
--- a/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
+++ b/
src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c
@@
-371,6
+371,9
@@
pb_debug_manager_create_buffer(struct pb_manager *_mgr,
struct pb_desc real_desc;
pb_size real_size;
+ assert(size);
+ assert(desc->alignment);
+
buf = CALLOC_STRUCT(pb_debug_buffer);
if(!buf)
return NULL;