summaryrefslogtreecommitdiff
path: root/src/amdgpu_glamor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amdgpu_glamor.c')
-rw-r--r--src/amdgpu_glamor.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/amdgpu_glamor.c b/src/amdgpu_glamor.c
index 1c5dfc2..5583cd3 100644
--- a/src/amdgpu_glamor.c
+++ b/src/amdgpu_glamor.c
@@ -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;
}