diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-07 19:43:34 +0000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:32 +1100 |
commit | f41a4ee11ab3cbed8a4fd34866ed5771b8169ab7 (patch) | |
tree | b6e521530b862d82b013c3cb0f44f5a8f66d7e16 /src | |
parent | 87c8a1ba36b5deb9a0009a45a0b7a3a345c16126 (diff) |
pipebuffer: Fix reversed assertion.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c | 2 |
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); |