summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-02-07 19:43:34 +0000
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:32 +1100
commitf41a4ee11ab3cbed8a4fd34866ed5771b8169ab7 (patch)
treeb6e521530b862d82b013c3cb0f44f5a8f66d7e16 /src
parent87c8a1ba36b5deb9a0009a45a0b7a3a345c16126 (diff)
pipebuffer: Fix reversed assertion.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c b/src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c
index bcd4b3e257..04477a865a 100644
--- 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);