From: Michel Dänzer Date: Thu, 7 Feb 2008 19:43:34 +0000 (+0000) Subject: pipebuffer: Fix reversed assertion. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f41a4ee11ab3cbed8a4fd34866ed5771b8169ab7;p=mesa.git pipebuffer: Fix reversed assertion. --- diff --git a/src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c b/src/mesa/pipe/pipebuffer/pb_bufmgr_pool.c index bcd4b3e2571..04477a865a5 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);