i915g: fixup context desdruction
Reported-by: Christopher Egert <cme3000@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
f2fd0d6304
commit
ed570cb5e5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue