From ed570cb5e52021cfeb36266189367c85befcc761 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 13 Jul 2011 00:09:36 +0200 Subject: [PATCH] i915g: fixup context desdruction Reported-by: Christopher Egert Signed-off-by: Daniel Vetter --- src/gallium/drivers/i915/i915_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c index 28ff40a2328..1b30309bb58 100644 --- a/src/gallium/drivers/i915/i915_context.c +++ b/src/gallium/drivers/i915/i915_context.c @@ -99,11 +99,11 @@ static void i915_destroy(struct pipe_context *pipe) struct i915_context *i915 = i915_context(pipe); int i; - draw_destroy(i915->draw); - if (i915->blitter) util_blitter_destroy(i915->blitter); + draw_destroy(i915->draw); + if(i915->batch) i915->iws->batchbuffer_destroy(i915->batch); -- 2.30.2