xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAY
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sun, 21 Jun 2009 10:58:25 +0000 (11:58 +0100)
committerBrian Paul <brianp@vmware.com>
Tue, 30 Jun 2009 19:58:21 +0000 (13:58 -0600)
commit57955451f80c64f70e369508705ae95a515d18d8
treefd52b8c28f3fbf46cd1122d859eeac4ec1fd9b08
parente5cb11addad31f698dc8261e7f96d5e3af4a85d6
xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAY

Fix xdemos which default to using display :0.0 to default to $DISPLAY,
this is kind of irritating when testing on a display other than :0.0

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
progs/xdemos/glthreads.c
progs/xdemos/glxheads.c
progs/xdemos/glxswapcontrol.c
progs/xdemos/opencloseopen.c