GLX: Say something if we cannot connect via DRI2
authorAndrew Deason <adeason@dson.org>
Wed, 14 Sep 2011 16:37:48 +0000 (18:37 +0200)
committerMichel Daenzer <michel@daenzer.net>
Wed, 14 Sep 2011 16:37:48 +0000 (18:37 +0200)
See https://bugs.freedesktop.org/show_bug.cgi?id=40437

src/glx/dri2_glx.c

index 9fa0d5ad3628674ab712ab6d5bffd67722e54e03..b83da60fe77c687a8b1b5fb430b4a3de881f8f31 100644 (file)
@@ -835,6 +835,7 @@ dri2CreateScreen(int screen, struct glx_display * priv)
                    &driverName, &deviceName)) {
       glx_screen_cleanup(&psc->base);
       XFree(psc);
+      InfoMessageF("screen %d does not appear to be DRI2 capable\n", screen);
       return NULL;
    }