mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
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:
committed by
Michel Dänzer
parent
e900e48a11
commit
8cb41b962e
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user