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 <kenneth@whitecape.org> Tested-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
91651e7c15
commit
35e9924484
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user