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)
This commit is contained in:
Eric Anholt
2017-05-17 16:11:52 +09:00
committed by Michel Dänzer
parent e900e48a11
commit 8cb41b962e

View File

@@ -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;
}