diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-11-19 16:44:22 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-11-19 17:56:36 +0900 |
commit | 84cab5738a315e9825bd0864c4f0fc5b03eb81a1 (patch) | |
tree | 0779dce333587b3bf824544bdc7a5a74366d3b64 /src/amdgpu_glamor_wrappers.c | |
parent | a00c050c2e5667ed815c51979a3cadb5146136ff (diff) |
glamor: Restore all ScreenRec hooks during CloseScreen
(ported from radeon commit 535e5438b2c32f774b9c8c27ee0289b4749548ef)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_glamor_wrappers.c')
-rw-r--r-- | src/amdgpu_glamor_wrappers.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/amdgpu_glamor_wrappers.c b/src/amdgpu_glamor_wrappers.c index 7ff2f30..6700851 100644 --- a/src/amdgpu_glamor_wrappers.c +++ b/src/amdgpu_glamor_wrappers.c @@ -924,8 +924,6 @@ amdgpu_glamor_close_screen(CLOSE_SCREEN_ARGS_DECL) pScreen->CloseScreen = info->glamor.SavedCloseScreen; pScreen->GetImage = info->glamor.SavedGetImage; pScreen->GetSpans = info->glamor.SavedGetSpans; - pScreen->CreatePixmap = info->glamor.SavedCreatePixmap; - pScreen->DestroyPixmap = info->glamor.SavedDestroyPixmap; pScreen->CopyWindow = info->glamor.SavedCopyWindow; pScreen->ChangeWindowAttributes = info->glamor.SavedChangeWindowAttributes; @@ -969,9 +967,6 @@ amdgpu_glamor_screen_init(ScreenPtr screen) info->glamor.SavedGetSpans = screen->GetSpans; screen->GetSpans = amdgpu_glamor_get_spans; - info->glamor.SavedCreatePixmap = screen->CreatePixmap; - info->glamor.SavedDestroyPixmap = screen->DestroyPixmap; - info->glamor.SavedCopyWindow = screen->CopyWindow; screen->CopyWindow = amdgpu_glamor_copy_window; |