mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
intel: Destroy bufmgr in screen destroy, not context.
Caused server crashes on second context creation since
7e0bbdcf03.
Bug #17600.
This commit is contained in:
parent
27341a97a1
commit
904f31a624
2 changed files with 1 additions and 2 deletions
|
|
@ -822,8 +822,6 @@ intelDestroyContext(__DRIcontextPrivate * driContextPriv)
|
|||
|
||||
/* free the Mesa context */
|
||||
_mesa_free_context_data(&intel->ctx);
|
||||
|
||||
dri_bufmgr_destroy(intel->bufmgr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -309,6 +309,7 @@ intelDestroyScreen(__DRIscreenPrivate * sPriv)
|
|||
{
|
||||
intelScreenPrivate *intelScreen = (intelScreenPrivate *) sPriv->private;
|
||||
|
||||
dri_bufmgr_destroy(intelScreen->bufmgr);
|
||||
intelUnmapScreenRegions(intelScreen);
|
||||
|
||||
FREE(intelScreen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue