diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-07 19:43:34 +0000 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-02-07 19:43:34 +0000 |
commit | 28ecb986d958d52c9a996453e53418d1f98d7f75 (patch) | |
tree | fa90c69cd840b63a7dfdc843b18481dacd1d9e68 /src/mesa/pipe/pipebuffer | |
parent | 0013796948642b281ec84628d6f945b686cd6849 (diff) |
pipebuffer: Fix reversed assertion.
Diffstat (limited to 'src/mesa/pipe/pipebuffer')
-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); |