All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove nonexistant glamor flags from glamor_init
@ 2015-04-10 13:03 Ian T. Jacobsen
  0 siblings, 0 replies; only message in thread
From: Ian T. Jacobsen @ 2015-04-10 13:03 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Glamor removed some flags.
This is my first time contributing via mailing list,
but I hope I'm doing it correctly

diff --git a/src/nouveau_glamor.c b/src/nouveau_glamor.c
index b8bca17..ca84df6 100644
--- a/src/nouveau_glamor.c
+++ b/src/nouveau_glamor.c
@@ -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
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-10 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-10 13:03 [PATCH] Remove nonexistant glamor flags from glamor_init Ian T. Jacobsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.