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>
This commit is contained in:
Eric Anholt
2017-05-16 11:04:29 -07:00
committed by Michel Dänzer
parent 3a9f7e87c3
commit 2b7d77b901

View File

@@ -61,11 +61,10 @@ radeon_glamor_create_screen_resources(ScreenPtr screen)
return FALSE;
#endif
if (!glamor_egl_create_textured_screen_ext(screen,
info->front_bo->handle,
scrn->displayWidth *
info->pixel_bytes,
NULL))
if (!glamor_egl_create_textured_screen(screen,
info->front_bo->handle,
scrn->displayWidth *
info->pixel_bytes))
return FALSE;
return TRUE;