diff options
author | Keith Whitwell <[email protected]> | 2006-09-07 16:29:37 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-09-07 16:29:37 +0000 |
commit | e48db4430fe850cbaf55f2ea5c142ecea3c2a48b (patch) | |
tree | d4c7876660f808782ce8c424f7eca6c7674bcbe4 /src/mesa | |
parent | 1456a0fff6a68dac046aaa57585eadf65ad66892 (diff) |
Fix glitch with pool alignments.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_pool.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/bufmgr_fake.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_pool.c b/src/mesa/drivers/dri/i965/brw_state_pool.c index 2b469638cff..d905da80002 100644 --- a/src/mesa/drivers/dri/i965/brw_state_pool.c +++ b/src/mesa/drivers/dri/i965/brw_state_pool.c @@ -95,7 +95,7 @@ static void brw_init_pool( struct brw_context *brw, pool->size = size; pool->brw = brw; - bmGenBuffers(&brw->intel, "pool", 1, &pool->buffer, 0); + bmGenBuffers(&brw->intel, "pool", 1, &pool->buffer, 12); /* Also want to say not to wait on fences when data is presented */ diff --git a/src/mesa/drivers/dri/i965/bufmgr_fake.c b/src/mesa/drivers/dri/i965/bufmgr_fake.c index 1cb3f67b349..c6bdf8ecb89 100644 --- a/src/mesa/drivers/dri/i965/bufmgr_fake.c +++ b/src/mesa/drivers/dri/i965/bufmgr_fake.c @@ -634,7 +634,7 @@ static struct buffer *do_GenBuffer(struct intel_context *intel, const char *name buf->id = ++bm->buf_nr; buf->name = name; - buf->alignment = align ? align : 6; + buf->alignment = align; buf->flags = BM_MEM_AGP|BM_MEM_VRAM|BM_MEM_LOCAL; return buf; |