diff options
author | Keith Whitwell <[email protected]> | 2006-09-07 16:23:22 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-09-07 16:23:22 +0000 |
commit | 1456a0fff6a68dac046aaa57585eadf65ad66892 (patch) | |
tree | 0e00c34aa2d3ae1c644e2057a9c92b792c10aba2 /src/mesa/drivers/dri/i965/intel_regions.c | |
parent | 133f14168009393c5f396d218521625cb79b653f (diff) |
Use lower alignments where possible. Also pad out allocated blocks to
a multiple of alignment to avoid accumulating unusable free blocks.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_regions.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_regions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_regions.c b/src/mesa/drivers/dri/i965/intel_regions.c index e2cb4273042..51495448ca9 100644 --- a/src/mesa/drivers/dri/i965/intel_regions.c +++ b/src/mesa/drivers/dri/i965/intel_regions.c @@ -82,7 +82,7 @@ struct intel_region *intel_region_alloc( struct intel_context *intel, region->height = height; /* needed? */ region->refcount = 1; - bmGenBuffers(intel, "tex", 1, ®ion->buffer); + bmGenBuffers(intel, "tex", 1, ®ion->buffer, 6); bmBufferData(intel, region->buffer, pitch * cpp * height, NULL, 0); return region; |