projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c8a1b
)
pipebuffer: Fix reversed assertion.
author
Michel Dänzer
<michel@tungstengraphics.com>
Thu, 7 Feb 2008 19:43:34 +0000
(19:43 +0000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:32 +0000
(13:50 +1100)
src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
b/src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
index bcd4b3e2571d092b7864a85c5dce337834d3f09d..04477a865a540fc51caee58ce3c9ecd9e49c7e55 100644
(file)
--- a/
src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
+++ b/
src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
@@
-170,7
+170,7
@@
pool_bufmgr_create_buffer(struct pb_manager *mgr,
struct list_head *item;
assert(size == pool->bufSize);
- assert(
desc->alignment % pool->bufAlign
== 0);
+ assert(
pool->bufAlign % desc->alignment
== 0);
_glthread_LOCK_MUTEX(pool->mutex);