summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-05-17 16:11:52 +0900
committerMichel Dänzer <michel.daenzer@amd.com>2017-05-17 16:11:52 +0900
commit8cb41b962eb06b9cb1b3a573a4087e4d89f733fb (patch)
tree65fa6add7264b36a4ac7e6a641311ebc37600562
parente900e48a11a93cde7d8d2d7bdb4a15ec705c56b1 (diff)
Use plain glamor_egl_create_textured_screen().
Since 5064ffab631 (2014), glamor's implementation of _ext just drops the back_pixmap arg, which we were passing NULL (the default) to anyway. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (Ported from radeon commit 2b7d77b90108911777a11ecaa63435552000c958)
-rw-r--r--src/amdgpu_glamor.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/amdgpu_glamor.c b/src/amdgpu_glamor.c
index 1c5dfc2..5583cd3 100644
--- a/src/amdgpu_glamor.c
+++ b/src/amdgpu_glamor.c
@@ -66,10 +66,9 @@ Bool amdgpu_glamor_create_screen_resources(ScreenPtr screen)
#endif
if (!amdgpu_bo_get_handle(info->front_buffer, &bo_handle) ||
- !glamor_egl_create_textured_screen_ext(screen,
- bo_handle,
- scrn->displayWidth *
- info->pixel_bytes, NULL)) {
+ !glamor_egl_create_textured_screen(screen, bo_handle,
+ scrn->displayWidth *
+ info->pixel_bytes)) {
return FALSE;
}