demos: better error message for overlay.c, see bug 20055
authorBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 14:53:36 +0000 (07:53 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 14:53:56 +0000 (07:53 -0700)
progs/xdemos/overlay.c

index 4c425b64d463a534cb8998f6affaea13bdc5c6c7..758f85c4492d90284313b602086999aeed51f9f1 100644 (file)
@@ -165,7 +165,8 @@ MakeOverlayWindow(Display *dpy)
          /* XXX setup the colormap entries! */
       }
       else {
-         printf("Error: couldn't get an overlay visual!\n");
+         printf("Couldn't get an overlay visual.\n");
+         printf("Your hardware probably doesn't support framebuffer overlay planes.\n");
          exit(1);
       }
    }