projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: remove LIST_ADDTAIL macro
[mesa.git]
/
src
/
gallium
/
auxiliary
/
pipebuffer
/
pb_cache.c
diff --git
a/src/gallium/auxiliary/pipebuffer/pb_cache.c
b/src/gallium/auxiliary/pipebuffer/pb_cache.c
index 95dab4d256c2eac0ab09494b4734f412feecff7c..cc1b1fbed0024edd7fba12e0ca1cd4c7c63d3530 100644
(file)
--- a/
src/gallium/auxiliary/pipebuffer/pb_cache.c
+++ b/
src/gallium/auxiliary/pipebuffer/pb_cache.c
@@
-104,7
+104,7
@@
pb_cache_add_buffer(struct pb_cache_entry *entry)
entry->start = os_time_get();
entry->end = entry->start + mgr->usecs;
-
LIST_ADDTAIL
(&entry->head, cache);
+
list_addtail
(&entry->head, cache);
++mgr->num_buffers;
mgr->cache_size += buf->size;
mtx_unlock(&mgr->mutex);