summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-11 07:53:36 -0700
committerBrian Paul <[email protected]>2009-02-11 07:53:56 -0700
commit5f750138228be4438c592485290abdc6f8458271 (patch)
tree3f3b4ee0501e32324ffe10027924a33e9a164fdb /progs
parent98a053cfd4b5bcb6d704f1282892e99bb2052c5f (diff)
demos: better error message for overlay.c, see bug 20055
Diffstat (limited to 'progs')
-rw-r--r--progs/xdemos/overlay.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}