mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +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>
This commit is contained in:
committed by
Michel Dänzer
parent
3a9f7e87c3
commit
2b7d77b901
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user