[PATCH xf86-video-ati] Use plain glamor_egl_create_textured_screen().

Eric Anholt eric at anholt.net
Tue May 16 18:04:29 UTC 2017


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 at anholt.net>
---
 src/radeon_glamor.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
index 590c9f0c079c..e5e35553acf7 100644
--- a/src/radeon_glamor.c
+++ b/src/radeon_glamor.c
@@ -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;
-- 
2.11.0



More information about the xorg-devel mailing list