pipebuffer: Fix reversed assertion.

This commit is contained in:
Michel Dänzer 2008-02-07 19:43:34 +00:00
parent 0013796948
commit 28ecb986d9

View file

@ -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);