Commit 35e99244 authored by Kenneth Graunke's avatar Kenneth Graunke

modesetting: Stop using glamor_egl_create_textured_screen_ext().

The _ext variant takes an additional pointer argument, which it now
ignores, thanks to Keith's recent patches.
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Tested-by: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
parent 91651e7c
......@@ -888,13 +888,12 @@ CreateScreenResources(ScreenPtr pScreen)
#ifdef GLAMOR
if (ms->drmmode.glamor) {
if (!glamor_egl_create_textured_screen_ext(pScreen,
ms->drmmode.front_bo->handle,
pScrn->displayWidth *
pScrn->bitsPerPixel / 8,
NULL)) {
if (!glamor_egl_create_textured_screen(pScreen,
ms->drmmode.front_bo->handle,
pScrn->displayWidth *
pScrn->bitsPerPixel / 8)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"glamor_egl_create_textured_screen_ext() failed\n");
"glamor_egl_create_textured_screen() failed\n");
return FALSE;
}
}
......
......@@ -1249,13 +1249,12 @@ drmmode_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height)
#ifdef GLAMOR
if (drmmode->glamor) {
if (!glamor_egl_create_textured_screen_ext(screen,
drmmode->front_bo->handle,
scrn->displayWidth *
scrn->bitsPerPixel / 8,
NULL)) {
if (!glamor_egl_create_textured_screen(screen,
drmmode->front_bo->handle,
scrn->displayWidth *
scrn->bitsPerPixel / 8)) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"glamor_egl_create_textured_screen_ext() failed\n");
"glamor_egl_create_textured_screen() failed\n");
goto fail;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment