summaryrefslogtreecommitdiff
path: root/src/radeon_glamor_wrappers.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-11-10 17:31:52 +0900
committerMichel Dänzer <michel@daenzer.net>2015-11-17 12:21:53 +0900
commit535e5438b2c32f774b9c8c27ee0289b4749548ef (patch)
treee8087aed284d9fc5628bc1c3769e382b42672200 /src/radeon_glamor_wrappers.c
parentdfb52777e43f3855476cff812d64de687a199674 (diff)
glamor: Restore all ScreenRec hooks during CloseScreen
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_glamor_wrappers.c')
-rw-r--r--src/radeon_glamor_wrappers.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/radeon_glamor_wrappers.c b/src/radeon_glamor_wrappers.c
index ec81560c..cd02b068 100644
--- a/src/radeon_glamor_wrappers.c
+++ b/src/radeon_glamor_wrappers.c
@@ -917,8 +917,6 @@ radeon_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;
@@ -962,9 +960,6 @@ radeon_glamor_screen_init(ScreenPtr screen)
info->glamor.SavedGetSpans = screen->GetSpans;
screen->GetSpans = radeon_glamor_get_spans;
- info->glamor.SavedCreatePixmap = screen->CreatePixmap;
- info->glamor.SavedDestroyPixmap = screen->DestroyPixmap;
-
info->glamor.SavedCopyWindow = screen->CopyWindow;
screen->CopyWindow = radeon_glamor_copy_window;