diff options
author | Eric Anholt <eric@anholt.net> | 2017-05-16 11:04:29 -0700 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2017-05-17 16:06:31 +0900 |
commit | 2b7d77b90108911777a11ecaa63435552000c958 (patch) | |
tree | 4b0a6c503e05c2b147409fe489deafa384630a81 | |
parent | 3a9f7e87c30b9f6334d38dfdd1cb15b28fe37fcb (diff) |
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>
-rw-r--r-- | src/radeon_glamor.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c index 590c9f0c..e5e35553 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; |