diff options
author | Stéphane Marchesin <[email protected]> | 2011-06-24 16:18:58 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2011-06-24 16:30:19 -0700 |
commit | 1a69b50b3b441ce8f7a00af3a7f02c37df50f6c3 (patch) | |
tree | 95c1b1291ab9f34ff58f4a37dc65774b2455b9dc /src/gallium/drivers/i915/i915_context.c | |
parent | 6b28b44d458177209705637f759d03a27fa100f1 (diff) |
i915g: Fix point sprites.
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c index 0217db93e7a..ab4ea9a412e 100644 --- a/src/gallium/drivers/i915/i915_context.c +++ b/src/gallium/drivers/i915/i915_context.c @@ -106,7 +106,7 @@ static void i915_destroy(struct pipe_context *pipe) if (i915->blitter) util_blitter_destroy(i915->blitter); - + if(i915->batch) i915->iws->batchbuffer_destroy(i915->batch); @@ -150,6 +150,8 @@ i915_create_context(struct pipe_screen *screen, void *priv) /* init this before draw */ util_slab_create(&i915->transfer_pool, sizeof(struct pipe_transfer), 16, UTIL_SLAB_SINGLETHREADED); + util_slab_create(&i915->texture_transfer_pool, sizeof(struct i915_transfer), + 16, UTIL_SLAB_SINGLETHREADED); /* Batch stream debugging is a bit hacked up at the moment: */ |