Remove nonexistant glamor flags from glamor_init
PATCH 1/1 Remove nonexistant glamor flags from glamor_init
Glamor removed some flags.
This is my first time contributing via mailing list, but I hope I'm doing it correctly
src/nouveau_glamor.c +4 -0
@@ -217,10 +217,14 @@ nouveau_glamor_init(ScreenPtr screen)ScrnInfoPtr scrn =xf86ScreenToScrn (screen);NVPtr pNv =NVPTR (scrn); +#ifndef GLAMOR_USE_SCREEN +if (!glamor_init (screen,GLAMOR_USE_EGL_SCREEN )) { +#else if (!glamor_init (screen,GLAMOR_INVERTED_Y_AXIS |GLAMOR_USE_EGL_SCREEN |GLAMOR_USE_SCREEN |GLAMOR_USE_PICTURE_SCREEN )) { +#endif xf86DrvMsg (scrn->scrnIndex,X_ERROR ,"[GLAMOR] failed to initialise\n" );return FALSE;
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau