From db6aa58267cad3f502f03ab80b9deb6b75320a91 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 10 Nov 2000 17:23:02 +0000 Subject: patched to silence compiler warnings (Martin Lindhe) --- progs/xdemos/glxheads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'progs/xdemos') diff --git a/progs/xdemos/glxheads.c b/progs/xdemos/glxheads.c index a20c72354f..42bfc835ad 100644 --- a/progs/xdemos/glxheads.c +++ b/progs/xdemos/glxheads.c @@ -1,4 +1,4 @@ -/* $Id: glxheads.c,v 1.1 2000/06/13 19:41:30 brianp Exp $ */ +/* $Id: glxheads.c,v 1.2 2000/11/10 17:23:07 brianp Exp $ */ /* * Exercise multiple GLX connections on multiple X displays. @@ -139,7 +139,7 @@ AddHead(const char *displayName) if (!glXMakeCurrent(dpy, win, ctx)) { Error(displayName, "glXMakeCurrent failed"); printf("glXMakeCurrent failed in Redraw()\n"); - return; + return NULL; } /* save the info for this head */ -- cgit v1.2.3