diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-11-10 17:31:52 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-11-17 12:21:53 +0900 |
commit | 535e5438b2c32f774b9c8c27ee0289b4749548ef (patch) | |
tree | e8087aed284d9fc5628bc1c3769e382b42672200 /src/radeon_kms.c | |
parent | dfb52777e43f3855476cff812d64de687a199674 (diff) |
glamor: Restore all ScreenRec hooks during CloseScreen
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index 8aa76332..49b922d2 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -1490,6 +1490,8 @@ static Bool RADEONCloseScreen_KMS(CLOSE_SCREEN_ARGS_DECL) if (info->dri2.enabled) radeon_dri2_close_screen(pScreen); + radeon_glamor_fini(pScreen); + pScrn->vtSema = FALSE; xf86ClearPrimInitDone(info->pEnt->index); pScreen->BlockHandler = info->BlockHandler; |