X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Fxdemos%2Fglthreads.c;h=ea5474870bdb20ae8aaf0ab04820c611e3f91b9e;hb=e5c7d1e1c8ccb493c63e33d017c28b5cf4a55829;hp=b90e6b4f3195eb5c3d0c39695dbb4b4599504173;hpb=54fbd8bbd4e5a484d59907bae852908e3a8b8f3c;p=mesa.git diff --git a/progs/xdemos/glthreads.c b/progs/xdemos/glthreads.c index b90e6b4f319..ea5474870bd 100644 --- a/progs/xdemos/glthreads.c +++ b/progs/xdemos/glthreads.c @@ -26,7 +26,7 @@ * -p Open a display connection for each thread * -l Enable application-side locking * -n Number of threads to create (default is 2) - * -display Specify X display (default is :0.0) + * -display Specify X display (default is $DISPLAY) * -t Use texture mapping * * Brian Paul 20 July 2000 @@ -573,7 +573,7 @@ usage(void) int main(int argc, char *argv[]) { - char *displayName = ":0.0"; + char *displayName = NULL; int numThreads = 2; Display *dpy = NULL; int i;