From 5f750138228be4438c592485290abdc6f8458271 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 11 Feb 2009 07:53:36 -0700 Subject: demos: better error message for overlay.c, see bug 20055 --- progs/xdemos/overlay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/progs/xdemos/overlay.c b/progs/xdemos/overlay.c index 4c425b64d46..758f85c4492 100644 --- a/progs/xdemos/overlay.c +++ b/progs/xdemos/overlay.c @@ -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); } } -- cgit v1.2.3