summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2008-02-07 19:43:34 +0000
committerMichel Dänzer <[email protected]>2008-02-07 19:43:34 +0000
commit28ecb986d958d52c9a996453e53418d1f98d7f75 (patch)
treefa90c69cd840b63a7dfdc843b18481dacd1d9e68 /src
parent0013796948642b281ec84628d6f945b686cd6849 (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 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);